Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 00:34:58 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   User-space API to inquire block alignment requirements for open file descriptor?
Message-ID:  <c9063edd-a3c1-fce4-483c-a192addc6b86@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9063edd-a3c1-fce4-483c-a192addc6b86>