]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/mountpoint-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
8 int name_to_handle_at_loop(int fd
, const char *path
, struct file_handle
**ret_handle
, int *ret_mnt_id
, int flags
);
10 int path_get_mnt_id(const char *path
, int *ret
);
12 int fd_is_mount_point(int fd
, const char *filename
, int flags
);
13 int path_is_mount_point(const char *path
, const char *root
, int flags
);
15 bool fstype_is_network(const char *fstype
);
16 bool fstype_is_api_vfs(const char *fstype
);
17 bool fstype_is_ro(const char *fsype
);
18 bool fstype_can_discard(const char *fstype
);
19 bool fstype_can_uid_gid(const char *fstype
);
21 int dev_is_devtmpfs(void);
23 const char *mount_propagation_flags_to_string(unsigned long flags
);
24 int mount_propagation_flags_from_string(const char *name
, unsigned long *ret
);