diff options
author | Karel Zak | 2017-01-13 11:23:23 +0100 |
---|---|---|
committer | Karel Zak | 2017-01-13 11:23:23 +0100 |
commit | 7526c305b459f1387dad72d1543308246fc12877 (patch) | |
tree | 2947ea35cf9f0f5b688d991bb3ec1d05a2b5c9d4 /lib/mbsalign.c | |
parent | If mtab support is disabled, disable ro/rw mtab checks (diff) | |
download | kernel-qcow2-util-linux-7526c305b459f1387dad72d1543308246fc12877.tar.gz kernel-qcow2-util-linux-7526c305b459f1387dad72d1543308246fc12877.tar.xz kernel-qcow2-util-linux-7526c305b459f1387dad72d1543308246fc12877.zip |
libfdisk: don't use blkdev ioctls for regular files
$ fdisk <diskimage>
open("sdc.img", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, BLKSSZGET, 0x7ffcf51357c4) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, BLKGETSIZE64, 0x7ffcf51357b0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, BLKGETSIZE, 0x7ffcf51356c8) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, FDGETPRM, 0x7ffcf51356d0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, HDIO_GETGEO, 0x7ffcf5135790) = -1 ENOTTY (Inappropriate ioctl for device)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/mbsalign.c')
0 files changed, 0 insertions, 0 deletions