User-space API to inquire block alignment requirements for open file descriptor?

Matthias Andree mandree at FreeBSD.org
Sun Sep 11 22:34:59 UTC 2016


Greetings,

given an open file descriptor, do we have a system interface to inquire
about the block size of the underlying devices? In the past, we used to
deal with 512-byte blocks, but how about drives using 4096-byte blocks?

Thanks,
Matthias


More information about the freebsd-hackers mailing list