diff options
author | Karel Zak | 2018-09-14 15:57:45 +0200 |
---|---|---|
committer | Karel Zak | 2018-09-14 15:57:45 +0200 |
commit | 82dae67d1a902aec6aa164510717be027810bfe6 (patch) | |
tree | 974c5dc28e2a7e8b1ba987937ada27acf0ada06c /misc-utils/lsblk.h | |
parent | lsblk: use lsblk_ prefix mountpoint getter (diff) | |
download | kernel-qcow2-util-linux-82dae67d1a902aec6aa164510717be027810bfe6.tar.gz kernel-qcow2-util-linux-82dae67d1a902aec6aa164510717be027810bfe6.tar.xz kernel-qcow2-util-linux-82dae67d1a902aec6aa164510717be027810bfe6.zip |
lsblk: differentiate between swap and mount
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lsblk.h')
-rw-r--r-- | misc-utils/lsblk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc-utils/lsblk.h b/misc-utils/lsblk.h index 8817314af..13e8e754d 100644 --- a/misc-utils/lsblk.h +++ b/misc-utils/lsblk.h @@ -89,7 +89,8 @@ struct blkdev_cxt { uint64_t size; /* device size */ - unsigned int is_mounted : 1; + unsigned int is_mounted : 1, + is_swap : 1; }; /* lsblk-mnt.c */ |