Date: Tue, 25 Nov 2008 14:40:27 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: small newfs_msdos addition Message-ID: <20081125134027.GC3519@garage.freebsd.pl> In-Reply-To: <20081125094125.GA18669@onelab2.iet.unipi.it> References: <20081125094125.GA18669@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, Nov 25, 2008 at 10:41:25AM +0100, Luigi Rizzo wrote: > If there are no objections I'd like to commit the small patch below > to newfs_msdos.c -- all it does is create a fake geometry if > it cannot get the media size, which is handy when you want to > create a filesystem image on a regular file. > > Before the patch you need to do > > newfs_msdos -h 32 -s 64 -o 0 -S 512 -s `du -k /the/file` /the/file > > after the patch it becomes > > newfs_msdos /the/file > > which is a bit more friendly especially if you have to type it manually. Yes, please! -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJLABLForvXbEpPzQRAsV/AJ9Kl+A/aoyo1aHU2AZsmJQx+xh3hgCfT66k MGFeBZcg4ZJ/Ks58s2cj4Vo= =bIO2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081125134027.GC3519>
