The bareon.utils.fs
Module¶
-
bareon.utils.fs.
change_uuid
(fs_dev)¶
-
bareon.utils.fs.
extend_fs
(fs_type, fs_dev)¶
-
bareon.utils.fs.
format_fs_label
(label)¶ Format filesystem label to match mkfs format
Labels longer than 12 will be truncated to 12 first characters because of xfs limitations
-
bareon.utils.fs.
make_fs
(fs_type, fs_options, fs_label, dev)¶
-
bareon.utils.fs.
mount_bind
(chroot, path, path2=None)¶
-
bareon.utils.fs.
mount_fs
(fs_type, fs_dev, fs_mount, opts=None)¶
-
bareon.utils.fs.
umount_fs
(fs_mount, try_lazy_umount=False)¶