diff options
author | Karel Zak | 2019-01-16 15:00:07 +0100 |
---|---|---|
committer | Karel Zak | 2019-01-16 15:00:07 +0100 |
commit | 189a1bf3b314a8fc48c29ea1e0287d5cc71021a0 (patch) | |
tree | 684d7415e61e2769f2053cc35801f0c8256d8396 /libmount/src/mountP.h | |
parent | fsck.cramfs: fix utimes() usage (diff) | |
download | kernel-qcow2-util-linux-189a1bf3b314a8fc48c29ea1e0287d5cc71021a0.tar.gz kernel-qcow2-util-linux-189a1bf3b314a8fc48c29ea1e0287d5cc71021a0.tar.xz kernel-qcow2-util-linux-189a1bf3b314a8fc48c29ea1e0287d5cc71021a0.zip |
libmount: add support for MS_REMOUNT on --all
This patch add to support for remount-all operation to
libmount and mount(8).
For example:
mount --all -o remount,ro -t vfat
to remount read-only all VFAT filesystems.
Addresses: https://github.com/karelzak/util-linux/issues/589
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r-- | libmount/src/mountP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h index 795ea69dc..7887c0a55 100644 --- a/libmount/src/mountP.h +++ b/libmount/src/mountP.h @@ -403,6 +403,7 @@ extern int __mnt_fs_set_fstype_ptr(struct libmnt_fs *fs, char *fstype) __attribute__((nonnull(1))); /* context.c */ +extern struct libmnt_context *mnt_copy_context(struct libmnt_context *o); extern int mnt_context_mtab_writable(struct libmnt_context *cxt); extern int mnt_context_utab_writable(struct libmnt_context *cxt); extern const char *mnt_context_get_writable_tabpath(struct libmnt_context *cxt); |