Skip site navigation (1)Skip section navigation (2)
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

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

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.
>=20
> Before the patch you need to do
>=20
>   newfs_msdos -h 32 -s 64 -o 0 -S 512 -s `du -k /the/file` /the/file
>=20
> after the patch it becomes
>=20
>   newfs_msdos /the/file
>=20
> which is a bit more friendly especially if you have to type it manually.

Yes, please!

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--+xNpyl7Qekk2NvDX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFJLABLForvXbEpPzQRAsV/AJ9Kl+A/aoyo1aHU2AZsmJQx+xh3hgCfT66k
MGFeBZcg4ZJ/Ks58s2cj4Vo=
=bIO2
-----END PGP SIGNATURE-----

--+xNpyl7Qekk2NvDX--



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