]> err.no Git - util-linux/commit
blockdev: fix topology ioctls
authorKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 00:32:03 +0000 (02:32 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Oct 2009 00:32:03 +0000 (02:32 +0200)
commited98508a1cf5ebe67948b6c2ec7a65f4ddd110f8
tree3b94f54dbfa3f9e74eaece52a1dea9e0bad6f8a1
parentd965d63f6414b27c04acee860cc5357887b2e788
blockdev: fix topology ioctls

 kernel 2.6.32-rc4 (kvm):

 # blockdev -v --getss --getpbsz --getiomin --getioopt --getmaxsect --getalignoff   /dev/sda
 get logical block (sector) size: 512
 get physical block (sector) size: 512
 get minimum I/O size: 512
 get optimal I/O size: 0
 get max sectors per request: 1024
 get alignment offset: 0

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/blockdev.c
include/blkdev.h