summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r--libmount/src/mountP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index c6b70e29f..28b77d0c3 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -243,6 +243,8 @@ struct libmnt_fs {
int flags; /* MNT_FS_* flags */
pid_t tid; /* /proc/<tid>/mountinfo otherwise zero */
+ char *comment; /* fstab comment */
+
void *userdata; /* library independent data */
};
@@ -265,6 +267,9 @@ struct libmnt_fs {
struct libmnt_table {
int fmt; /* MNT_FMT_* file format */
int nents; /* number of valid entries */
+ int comms; /* enable/disable comment parsing */
+ char *comm_intro; /* First comment in file */
+ char *comm_tail; /* Last comment in file */
struct libmnt_cache *cache; /* canonicalized paths/tags cache */