summaryrefslogtreecommitdiffstats
path: root/include/loopdev.h
diff options
context:
space:
mode:
authorKarel Zak2012-01-09 23:27:53 +0100
committerKarel Zak2012-01-09 23:28:50 +0100
commit916bf85e621bb01d58279a014088376c80050a74 (patch)
tree0571e873b22ea4eda45d03801d4e073bc0a8a1a3 /include/loopdev.h
parentloopdev: improve debug messages (diff)
downloadkernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.tar.gz
kernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.tar.xz
kernel-qcow2-util-linux-916bf85e621bb01d58279a014088376c80050a74.zip
losetup: add --partscan option
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/loopdev.h')
-rw-r--r--include/loopdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/loopdev.h b/include/loopdev.h
index 238b308fe..4e68da81f 100644
--- a/include/loopdev.h
+++ b/include/loopdev.h
@@ -37,7 +37,8 @@
enum {
LO_FLAGS_READ_ONLY = 1,
LO_FLAGS_USE_AOPS = 2,
- LO_FLAGS_AUTOCLEAR = 4, /* New in 2.6.25 */
+ LO_FLAGS_AUTOCLEAR = 4, /* kernel >= 2.6.25 */
+ LO_FLAGS_PARTSCAN = 8, /* kernel >= 3.2 */
};
#define LO_NAME_SIZE 64