tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ioctl equivalent to DIOCGSECTORSIZE in FreeBSD?



Michael van Elst wrote:

> You can get sector size this way on NetBSD-4 too. However, you won't
> be able to create or mount a standard filesystem on media with
> sector size != 512. Access to the raw device should be fine.

Ah, now I see...
I never mentioned using (i.e. with a filesystem) a sector size
different than 512 :-)

I needed a way to get the sector size, even if on NetBSD-4 and -5 the
result will always (?) be 512.

ciao
     Klaus


Home | Main Index | Thread Index | Old Index