summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.8
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2008-12-03 18:22:36 +0000
committerluigi <luigi@FreeBSD.org>2008-12-03 18:22:36 +0000
commit18b0226daa640e115ac2c6c817f884b4729095df (patch)
tree7588c22cdac2a9c97f76c7035db9ac3ce5340d4a /sbin/newfs/newfs.8
parentc7b052069777dd0c8ab24012563d406faf84b2d3 (diff)
downloadFreeBSD-src-18b0226daa640e115ac2c6c817f884b4729095df.zip
FreeBSD-src-18b0226daa640e115ac2c6c817f884b4729095df.tar.gz
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
Diffstat (limited to 'sbin/newfs/newfs.8')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud