Lines Matching refs:mount
23 #include <sys/mount.h>
36 #include "mount-setup.h"
37 #include "mount-util.h"
129 /* Checks if this mount point is considered "API", and hence
163 log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, r, "Failed to determine whether %s is a mount point: %m", p->where);
186 if (mount(p->what,
191 log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, errno, "Failed to mount %s at %s: %m", p->type, p->where);
220 /* Do a minimal mount of /proc and friends to enable the most
329 (void) mount("tmpfs", "/sys/fs/cgroup", "tmpfs", MS_REMOUNT|MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME|MS_RDONLY, "mode=755");
392 /* Mark the root directory as shared in regards to mount
399 if (mount(NULL, "/", NULL, MS_REC|MS_SHARED, NULL) < 0)
400 log_warning_errno(errno, "Failed to set up the root directory for shared mount propagation: %m");