Lines Matching refs:mount
28 #include <sys/mount.h>
49 #include "mount-util.h"
86 * btrfs file system into it, and mount it to
228 log_debug("/var/lib/machines is already a mount point, not creating loopback file for it.");
284 * let's mount the directory into an inaccessible directory
289 r = sd_bus_error_set_errnof(error, errno, "Failed to create temporary mount parent directory: %m");
296 r = sd_bus_error_set_errnof(error, errno, "Failed to create temporary mount directory: %m");
301 if (mount(loopdev, mntdir, "btrfs", 0, NULL) < 0) {
302 r = sd_bus_error_set_errnof(error, errno, "Failed to mount loopback device: %m");
322 if (mount(mntdir, "/var/lib/machines", NULL, MS_BIND, NULL) < 0) {
323 r = sd_bus_error_set_errnof(error, errno, "Failed to mount directory into right place: %m");