]> err.no Git - util-linux/commit
lib: add blkdev.{c,h}
authorStefan Krah <stefan@bytereef.org>
Wed, 7 Nov 2007 11:37:30 +0000 (12:37 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Nov 2007 11:37:30 +0000 (12:37 +0100)
commit3738a48e0889cf5d99353432bc9d425258e8e350
tree06aeb8b6c5ec32fcc43c643805c8231c2f39c073
parent8023c83bd54670ede6ad7e4e940ab6d578414106
lib: add blkdev.{c,h}

Now we duplicate BLK* ioctls on many places... This patch also
fix BLKGETSIZE64 usage in dependence on kernel version.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Stefan Krah <stefan@bytereef.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/Makefile.am
include/blkdev.h [new file with mode: 0644]
lib/blkdev.c [new file with mode: 0644]
tests/helpers/Makefile.am