Date: Sat, 12 Feb 2011 01:54:58 +0100 From: "Julian H. Stacey" <jhs@berklix.com> To: Bruce Cran <bruce@cran.org.uk> Cc: hackers@freebsd.org Subject: Re: memstick.img is bloated with 7% 2K blocks of nulls Message-ID: <201102120055.p1C0swnC069033@fire.js.berklix.net> In-Reply-To: Your message "Fri, 11 Feb 2011 19:22:27 GMT." <20110211192227.00002188@unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Cran wrote:
> On Fri, 11 Feb 2011 20:09:30 +0100
> "Julian H. Stacey" <jhs@berklix.com> wrote:
>
> > memstick.img wastes 7% with 2K blocks of nulls.
>
> Could this be due to using UFS1 instead of UFS2?
Don't know, Looking:
8.1 /usr/src/release/scripts/make-memstick.sh
man makefs
-t fs-type ... The following file system
types are supported:
ffs BSD fast file system (default).
....
FFS-specific options
....
version UFS version. 1 for FFS (default), 2 for UFS2
/usr/src/release/Makefile -->
scripts/doFS.sh:
newfs -i ${FSINODE} -o space -m 0 /dev/r${VNDEVICE}c
...
newfs -O1 -b 4096 -f 512 -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}
man newfs:
-O filesystem-type
Use 1 to specify that a UFS1 format file system be built; use 2
to specify that a UFS2 format file system be built. The default
format is UFS2.
If anyone fancies looking deeper, please do :-)
Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text; Not quoted-printable, Not HTML, Not base 64.
Reply below text sections not at top, to avoid breaking cumulative context.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102120055.p1C0swnC069033>
