]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: use CDROM_GET_CAPABILITY ioctl
authorDavidlohr Bueso <dave@gnu.org>
Tue, 20 Dec 2011 13:42:10 +0000 (14:42 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Jan 2012 12:43:06 +0000 (13:43 +0100)
commit3b622ddd72a783f9b532f1e363093978fe4d340a
tree6e9a7f1b9c8b895d447b1451c0b268cca98ae59a
parenta4c0cc75ff9744299f108c259efab1bd30c8007a
fdisk: use CDROM_GET_CAPABILITY ioctl

And replace the current archaic logic of is_ide_cdrom_or_tape().

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