Luigi Rizzo b87d1601b6 Some useful operational extensions to newfs_msdos, especially
when preparing images for emulators or flash devices:

+ option '-C size' to create the underlying image file with given size.
  Saves doing a 'dd' before, and especially it creates a sparse file

+ option '-@ offset' to build the FAT image at the specified offset
  in the image file or device;

+ make the cluster size adaptive on the filesystem size.
  Previously the default was 4k which is really unconvenient with
  large media; now it goes from 512 bytes to 32k depending on
  filesystem size (i still need to check whether it makes sense
  to go further up, to 64k or above);

+ fix default geometry when not specified on the command line,
  use 63 sectors/255 heads by default.
  Also trim the size so it exactly a multiple of a track, to avoid
  complaints in some filesystem code.

+ document all the above, plus some manual page clarifications.

MFC after:	4 weeks
2008-12-03 18:22:36 +00:00
..
2008-11-05 09:28:30 +00:00
2006-04-14 09:20:25 +00:00
2006-10-31 22:36:49 +00:00
2006-10-31 22:07:29 +00:00
2006-09-30 11:02:17 +00:00
2006-10-15 13:51:49 +00:00
2008-10-19 09:45:29 +00:00
2008-09-27 00:09:10 +00:00
2006-09-30 11:12:36 +00:00
2007-11-18 09:18:20 +00:00
2006-04-19 19:21:42 +00:00
2005-11-13 01:47:04 +00:00
2007-07-03 12:46:08 +00:00
2008-09-29 05:31:27 +00:00
2007-09-23 16:06:37 +00:00