]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkdev: add is_blkdev function
authorDavidlohr Bueso <dave@gnu.org>
Wed, 4 Jan 2012 23:02:06 +0000 (00:02 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Jan 2012 16:09:27 +0000 (17:09 +0100)
commit8150beac7ced4e35fef7a8db71caee72d455f180
tree41625537369e230c3b40b8f62d9d8522ff51f171
parent67aa2fc7950812093f710cba0585e0fab71dc84e
blkdev: add is_blkdev function

We should have the most basic of checks in this library to see whether or not a block device is being used.

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