Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 22:40:39 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/scripts doFS.sh
Message-ID:  <20030503194039.GG97244@sunbay.com>
In-Reply-To: <21868.1051990078@critter.freebsd.dk>
References:  <20030503192559.GE97244@sunbay.com> <21868.1051990078@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--iSeZnk6FyAS3EJ1y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 03, 2003 at 09:27:58PM +0200, Poul-Henning Kamp wrote:
> In message <20030503192559.GE97244@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.
>=20
> UFS1 inodes are half the size of UFS2 inodes, so it may gain you
> a bunch of sectors.
>=20
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,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@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

--iSeZnk6FyAS3EJ1y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+tBs3Ukv4P6juNwoRAi7jAJ9YiGdQ4gV4WchRZLnlxZVY/7De0wCfZBly
yOpvUVlqr0Hx5SmyQMuUnKo=
=iUAU
-----END PGP SIGNATURE-----

--iSeZnk6FyAS3EJ1y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030503194039.GG97244>