bsdinstall guided partitioning should 4k-align swap and ufs partitions

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Dec 5 19:37:42 UTC 2011


In message <CAJcQMWcyGKGMD3-vHxqrtVEcR4ax=OhMNfanwAyJ8EDOSpcY3g at mail.gmail.com>
, Maxim Khitrov writes:

>How do you get around the hardware claiming to use 512-byte sectors
>when it actually uses 4 kB internally? 

Did you read what I wrote ?

] If the disk-driver has a 4k drive, or suspects it has a 4k drive (
] these properties are advisory only), it should announce that with
] the stripe* properties on its GEOM provider.

notice "suspects" ?

It would be entirely reasonable for the driver to suspect all drives
larger than some N GB to be 4k drives.

But the information has to flow up from the driver, so that
intermediate GEOM classes can adjust the two stripe-properties
according to what they do.

-- 
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.


More information about the freebsd-current mailing list