]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/mount-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
9 int repeat_unmount(const char *path
, int flags
);
10 int umount_recursive(const char *target
, int flags
);
11 int bind_remount_recursive(const char *prefix
, bool ro
, char **blacklist
);
12 int bind_remount_recursive_with_mountinfo(const char *prefix
, bool ro
, char **blacklist
, FILE *proc_self_mountinfo
);
14 int mount_move_root(const char *path
);
16 DEFINE_TRIVIAL_CLEANUP_FUNC(FILE*, endmntent
);
17 #define _cleanup_endmntent_ _cleanup_(endmntentp)
26 int umount_verbose(const char *where
);
28 int mount_option_mangle(
30 unsigned long mount_flags
,
31 unsigned long *ret_mount_flags
,
32 char **ret_remaining_options
);
34 const char* mode_to_inaccessible_node(mode_t mode
);