cvs commit: src/release/scripts doFS.sh

Ruslan Ermilov ru at FreeBSD.org
Sat May 3 12:40:48 PDT 2003


On Sat, May 03, 2003 at 09:27:58PM +0200, Poul-Henning Kamp wrote:
> In message <20030503192559.GE97244 at sunbay.com>, Ruslan Ermilov writes:
> >>   Log:
> >>   Use UFS1 for the floppies instead of UFS2
> >>
> >Why?  Does it save anything?  Last time I tried, it did not.
> 
> UFS1 inodes are half the size of UFS2 inodes, so it may gain you
> a bunch of sectors.
> 
I now see.  I was about to suggest UFS1 for boot floppies, and
thought I saw the difference, and even completed the email with
the patch, but then tested it again and saw no difference in
free space.  I now know why, I even recall seeing a PR on the
subject, something about UFS1, UFS2, and newfs(8):

This is on an fd1440-labelled image:

# newfs -O1 md0a
/dev/md0a: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 4 cylinder groups of 0.36MB, 91 blks, 192 inodes.
super-block backups (for fsck -b #) at:
 32, 760, 1488, 2216
# df /dev/md0a
Filesystem 1K-blocks    Used  Avail Capacity  Mounted on
/dev/md0a       1279       0   1177     0%
# newfs -O2 md0a
/dev/md0a: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 4 cylinder groups of 0.36MB, 91 blks, 192 inodes.
super-block backups (for fsck -b #) at:
 144, 872, 1600, 2328
# df /dev/md0a
Filesystem 1K-blocks    Used  Avail Capacity  Mounted on
/dev/md0a       1127       0   1037     0%
# newfs -O1 md0a
/dev/md0a: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 4 cylinder groups of 0.36MB, 91 blks, 192 inodes.
super-block backups (for fsck -b #) at:
 32, 760, 1488, 2216
# df /dev/md0a
Filesystem 1K-blocks    Used  Avail Capacity  Mounted on
/dev/md0a       1127       0   1037     0%


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software AG,
ru at FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030503/3f744d48/attachment-0001.bin


More information about the cvs-src mailing list