freebsd-skq/sbin/newfs_msdos
Luigi Rizzo 045651ec1e Create a fake geometry (16 heads, 64 sectors) when dealing with
a plain file and a geometry is not explicitly supplied through
command line or disktab entry.

This way you can a FAT image on a file as simply as this:

	newfs_msdos ./some/file

(right now you need a much longer command

	newfs_msdos -h 32 -u 64 -S 512 -s $total_blocks -o 0 ./some/file

Will be merged after 7.1 and 6.4 are released.
See also the related PR which suggests a similar change.

PR:		bin/121182
MFC after:	4 weeks
2008-11-26 21:05:03 +00:00
..
Makefile
newfs_msdos.8 Be more accurate in the maximum filesize, it's 4GB not 4.3GB. 2007-12-09 13:34:10 +00:00
newfs_msdos.c Create a fake geometry (16 heads, 64 sectors) when dealing with 2008-11-26 21:05:03 +00:00