summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.c
diff options
context:
space:
mode:
authorKarel Zak2017-01-13 13:26:37 +0100
committerKarel Zak2017-01-13 13:26:37 +0100
commit76fab513b8f2c128a29c36cbc622d1a624b0be19 (patch)
treea1201a04ce757f3b6a60b7f056e7c0a48d0a3c04 /disk-utils/partx.c
parentlibfdisk: change the way how apply user device properties (diff)
downloadkernel-qcow2-util-linux-76fab513b8f2c128a29c36cbc622d1a624b0be19.tar.gz
kernel-qcow2-util-linux-76fab513b8f2c128a29c36cbc622d1a624b0be19.tar.xz
kernel-qcow2-util-linux-76fab513b8f2c128a29c36cbc622d1a624b0be19.zip
libblkid: add blkid_probe_set_sectorsize()
The usual way is to use ioctl to ask block device for sector size, but this is useless for disk images (regular files). And the default (512-bytes) may be pretty wrong for disk images from 4K disks. Let's support a way how to specify proper sector size. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/partx.c')
0 files changed, 0 insertions, 0 deletions