Bruce Cran wrote:
> On Fri, 11 Feb 2011 20:09:30 +0100
> "Julian H. Stacey" <j...@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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to