summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2010-03-02 22:34:56 +0100
committerKarel Zak2010-06-03 15:20:11 +0200
commitefe73c3ef120997c14ad95bf1857a044e99872b6 (patch)
tree518fe139a38ec374aa0a9aa8fb533dc8044dd6ab /shlibs/mount/src/mountP.h
parentfindmnt: add new command (diff)
downloadkernel-qcow2-util-linux-efe73c3ef120997c14ad95bf1857a044e99872b6.tar.gz
kernel-qcow2-util-linux-efe73c3ef120997c14ad95bf1857a044e99872b6.tar.xz
kernel-qcow2-util-linux-efe73c3ef120997c14ad95bf1857a044e99872b6.zip
libmount: read devno, ID and parent ID from /proc/self/mountinfo
The patch also removes obsolete test program from tab_parse.c. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/mountP.h')
-rw-r--r--shlibs/mount/src/mountP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shlibs/mount/src/mountP.h b/shlibs/mount/src/mountP.h
index 3ba3205f6..e92ba701a 100644
--- a/shlibs/mount/src/mountP.h
+++ b/shlibs/mount/src/mountP.h
@@ -135,6 +135,7 @@ struct _mnt_fs {
int id; /* mountinfo[1]: ID */
int parent; /* moutninfo[2]: parent */
+ dev_t devno; /* moutninfo[3]: st_dev */
char *source; /* fstab[1]: mountinfo[10]:
* source dev, file, dir or TAG */