/lxc/src/lxc/tools/ |
H A D | lxc_clone.c | 107 { "fstype", required_argument, 0, 't'}, 118 char *bdevtype = NULL, *lxcpath = NULL, *newpath = NULL, *fstype = NULL; local 145 case 't': fstype = optarg; break; 166 // vgname and fstype could be supported by sending them through the 173 if (fstype) { 174 printf("Error: fstype not supported\n");
|
/lxc/src/lxc/bdev/ |
H A D | lxcloop.c | 40 static int do_loop_create(const char *path, uint64_t size, const char *fstype); 50 char fstype[100]; local 92 if (detect_fs(orig, fstype, 100) < 0) { 93 INFO("could not find fstype for %s, using %s", orig->src, 98 sprintf(fstype, "%s", DEFAULT_FSTYPE); 102 return do_loop_create(srcdev, size, fstype); 108 const char *fstype; local 138 fstype = specs->fstype; 139 if (!fstype) 206 do_loop_create(const char *path, uint64_t size, const char *fstype) argument [all...] |
H A D | lxcrbd.c | 49 const char *rbdpool, *rbdname = n, *fstype; local 103 fstype = specs->fstype; 104 if (!fstype) 105 fstype = DEFAULT_FSTYPE; 107 if (do_mkfs(bdev->src, fstype) < 0) { 108 ERROR("Error creating filesystem type %s on %s", fstype,
|
H A D | lxclvm.c | 282 char fstype[100]; local 331 if (detect_fs(orig, fstype, 100) < 0) { 332 INFO("could not find fstype for %s, using ext3", orig->src); 336 sprintf(fstype, "ext3"); 351 if (do_mkfs(new->src, fstype) < 0) { 352 ERROR("Error creating filesystem type %s on %s", fstype, 378 const char *vg, *thinpool, *fstype, *lv = n; local 416 fstype = specs->fstype; 417 if (!fstype) [all...] |
H A D | bdev.c | 461 * @specs: details about the backing store to create, like fstype 614 * Given a bdev (presumably blockdev-based), detect the fstype 617 * @type: preallocated char* in which to write the fstype 619 * Returns length of fstype, of -1 on error 653 ERROR("child exited early - fstype not found"); 659 INFO("detected fstype %s for %s", type, srcdev); 675 ERROR("failed mounting %s onto %s to detect fstype", srcdev, bdev->dest); 709 int do_mkfs(const char *path, const char *fstype) argument 724 execlp("mkfs", "mkfs", "-t", fstype, path, (char *)NULL); 891 char *fstype; local [all...] |
/lxc/src/lxc/ |
H A D | arguments.h | 89 char *fstype; member in struct:lxc_arguments
|
H A D | lxccontainer.h | 553 * (i.e. fstype and fsdata). 849 char *fstype; /*!< Filesystem type */ member in struct:bdev_specs
|
H A D | utils.c | 1687 int safe_mount(const char *src, const char *dest, const char *fstype, argument 1731 ret = mount(mntsrc, destbuf, fstype, flags, data);
|
H A D | conf.c | 653 const char *fstype; member in struct:__anon6 719 r = safe_mount(source, destination, default_mounts[i].fstype, mflags, default_mounts[i].options, conf->rootfs.path ? conf->rootfs.mount : NULL); 1753 const char *fstype, unsigned long mountflags, 1760 if (safe_mount(fsname, target, fstype, mountflags & ~MS_REMOUNT, data, rootfs)) { 1806 if (mount(fsname, target, fstype, 1824 DEBUG("mounted '%s' on '%s', type '%s'", fsname, target, fstype); 1752 mount_entry(const char *fsname, const char *target, const char *fstype, unsigned long mountflags, const char *data, int optional, int dev, const char *rootfs) argument
|