1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Files
2020-08-06 07:04:53 +02:00

1.1 KiB

btrfs
# create the subvolume /mnt/sv1 in the /mnt volume
btrfs subvolume create /mnt/sv1
 
# list subvolumes
btrfs subvolume list /mnt
 
# mount subvolume without mounting the main filesystem
mount -o subvol=sv1 /dev/sdb /mnt
 
# delete subvolume
btrfs subvolume delete /mnt/sv1
 
# taking snapshot of a subvolume
btrfs subvolume snapshot /mnt/sv1 /mnt/sv1_snapshot