|unsigned long||blkid_topology_get_alignment_offset ()|
|unsigned long||blkid_topology_get_logical_sector_size ()|
|unsigned long||blkid_topology_get_minimum_io_size ()|
|unsigned long||blkid_topology_get_optimal_io_size ()|
|unsigned long||blkid_topology_get_physical_sector_size ()|
The topology chain provides details about Linux block devices, for more information see:
Linux kernel Documentation/ABI/testing/sysfs-block
NAME=value (tags) interface is enabled by
: this is the smallest unit the storage device can
address. It is typically 512 bytes.
: this is the smallest unit a physical storage device
can write atomically. It is usually the same as the
logical sector size but may be bigger.
: minimum size which is the device's preferred unit of I/O.
For RAID arrays it is often the stripe chunk size.
: usually the stripe width for RAID or zero. For RAID arrays
it is usually the stripe width or the internal track size.
: indicates how many bytes the beginning of the device is
offset from the disk's natural alignment.
The NAME=value tags are not defined when the corresponding topology value is zero. The MINIMUM_IO_SIZE should be always defined if kernel provides topology information.
int blkid_probe_enable_topology (
Enables/disables the topology probing for non-binary interface.
blkid_topology blkid_probe_get_topology (
This is a binary interface for topology values. See also blkid_topology_* functions.
This function is independent on blkid_do_[safe,full]
WARNING: the returned object will be overwritten by the next
blkid_probe_get_topology() call for the same
. If you want to
use more blkid_topology objects in the same time you have to create
more blkid_probe handlers (see
unsigned long blkid_topology_get_alignment_offset (
unsigned long blkid_topology_get_logical_sector_size (
unsigned long blkid_topology_get_minimum_io_size (
unsigned long blkid_topology_get_optimal_io_size (
unsigned long blkid_topology_get_physical_sector_size (