Re: small newfs_msdos addition

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 25 Nov 2008 14:40:27 +0100
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_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Tue Nov 25 2008 - 12:40:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC