summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorKarel Zak2010-12-01 14:04:35 +0100
committerKarel Zak2010-12-01 14:04:35 +0100
commitb61e939013282d8da2fbc2dc60c2cb4e58b8ab17 (patch)
tree12ccaa865bde2b30c138bcd974f530979404cb31 /README
parentlscpu: use GPLv2+ (diff)
downloadkernel-qcow2-util-linux-b61e939013282d8da2fbc2dc60c2cb4e58b8ab17.tar.gz
kernel-qcow2-util-linux-b61e939013282d8da2fbc2dc60c2cb4e58b8ab17.tar.xz
kernel-qcow2-util-linux-b61e939013282d8da2fbc2dc60c2cb4e58b8ab17.zip
losetup: use /sys/dev/block/.../loop/backing_file
The basic loopdev attributes are available in sysfs since kernel 2.6.37. This patch uses the backing_file attribute from sysfs for very long filenames (the LOOP_GET_STATUS ioctl uses only 64 bytes for the filename). old version: # losetup -a /dev/loop0: [0804]:12865322 (/home/images/filesystems/this_is_really_really_long_directory_*) new version: # losetup -a /dev/loop0: [0804]:12865322 (/home/images/filesystems/this_is_really_really_long_directory_name/ext2.img) Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions