]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib: [blkdev.c] add blkdev_get_physector_size()
authorDavidlohr Bueso <dave@gnu.org>
Tue, 21 Jun 2011 02:51:47 +0000 (22:51 -0400)
committerKarel Zak <kzak@redhat.com>
Mon, 27 Jun 2011 13:57:31 +0000 (15:57 +0200)
commit0e75337c31c9e3a963aecd440c8698994464324c
tree71da5de3abd74a00ead8a295072a0f83d54979e8
parent5dfc98439280aedd3df095276df5e20f1bf7a2d2
lib: [blkdev.c] add blkdev_get_physector_size()

This function uses the BLKPBSZGET ioctl to get the physical block size
of the device.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/blkdev.h
lib/blkdev.c