diff options
author | luigi <luigi@FreeBSD.org> | 2008-11-26 21:05:03 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2008-11-26 21:05:03 +0000 |
commit | e7b613e283a3e817bb53a5b488853ff4588dfcae (patch) | |
tree | 93a18bce159d37ac4ff0982b0a3ad96f4bf66a53 /sys/boot | |
parent | b089198d311e48209a35dd338ec0ece2b7dfc1c1 (diff) | |
download | FreeBSD-src-e7b613e283a3e817bb53a5b488853ff4588dfcae.zip FreeBSD-src-e7b613e283a3e817bb53a5b488853ff4588dfcae.tar.gz |
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
Diffstat (limited to 'sys/boot')
0 files changed, 0 insertions, 0 deletions