Re: cvs commit: src/sbin/fdisk fdisk.c
In message <Pine.BSF.4.21.0303291408451.4536-100000_at_root.org>, Nate Lawson writ
>On Sat, 29 Mar 2003, Poul-Henning Kamp wrote:
>> Modified files:
>> sbin/fdisk fdisk.c
>> Use default geometry in case the device doesn't provide one:
>> 512 for sectorsize.
>> 63 for sectors.
>> 255 for heads.
>> This will mostly show up on MD(4) devices.
>Won't this be a problem for small devices or for int 13 booting? That's
>why we use 64 heads, 32 sectors for scsi devices < 1 GB.
You can specify any number you like to fdisk using all the usual
ways of doing so, and you should if you want to copy the image to
some other media afterwards.
These defaults are only here to prevent fdisk from crashing.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Received on Sat Mar 29 2003 - 14:26:40 UTC