diff options
author | peter <peter@FreeBSD.org> | 2001-11-03 08:35:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-11-03 08:35:11 +0000 |
commit | 054367a0db5d099a0b74577d1aa6b068ec616499 (patch) | |
tree | 0a8f3168caa5913fdf285ccf9628e95df7858208 /sbin | |
parent | ca5b6341e5b00b0b01e36ba9f092e873dd191434 (diff) | |
download | FreeBSD-src-054367a0db5d099a0b74577d1aa6b068ec616499.zip FreeBSD-src-054367a0db5d099a0b74577d1aa6b068ec616499.tar.gz |
Remove support for FreeBSD/tahoe
Submitted by: phk
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/newfs.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index d0917a1..c34fcb6 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -521,19 +521,6 @@ main(argc, argv) sbsize = lp->d_sbsize; #endif oldpartition = *pp; -#ifdef tahoe - realsectorsize = sectorsize; - if (sectorsize != DEV_BSIZE) { /* XXX */ - int secperblk = DEV_BSIZE / sectorsize; - - sectorsize = DEV_BSIZE; - nsectors /= secperblk; - nphyssectors /= secperblk; - secpercyl /= secperblk; - fssize /= secperblk; - pp->p_size /= secperblk; - } -#else realsectorsize = sectorsize; if (sectorsize != DEV_BSIZE) { /* XXX */ int secperblk = sectorsize / DEV_BSIZE; @@ -545,15 +532,9 @@ main(argc, argv) fssize *= secperblk; pp->p_size *= secperblk; } -#endif mkfs(pp, special, fsi, fso); -#ifdef tahoe - if (realsectorsize != DEV_BSIZE) - pp->p_size *= DEV_BSIZE / realsectorsize; -#else if (realsectorsize != DEV_BSIZE) pp->p_size /= realsectorsize /DEV_BSIZE; -#endif if (!Nflag && bcmp(pp, &oldpartition, sizeof(oldpartition))) rewritelabel(special, fso, lp); if (!Nflag) |