Difference between revisions of "Translations:Btrfs/33/en"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Importing a new version from external source) Tags: Mobile web edit Mobile edit |
(Importing a new version from external source) |
||
Line 4: | Line 4: | ||
{{RootCmd|command=btrfs subvolume create [/mnt/@tests]}} | {{RootCmd|command=btrfs subvolume create [/mnt/@tests]}} | ||
This will be shown by | This will be shown by | ||
{{RootCmd|command=ls - | {{RootCmd|command=ls -lA /mnt}} | ||
{{RootCmd|command=btrfs subvolume list /mnt}} | {{RootCmd|command=btrfs subvolume list /mnt}} | ||
This subvolume '''tests''' is empty. And it is not mounted by default. So if you want to use it, you have to mount it by ''fstab'' or other means. '''Now lets delete it again.''' | This subvolume '''tests''' is empty. And it is not mounted by default. So if you want to use it, you have to mount it by ''fstab'' or other means. '''Now lets delete it again.''' | ||
{{RootCmd|command=btrfs subvolume delete [/mnt/@tests]}} | {{RootCmd|command=btrfs subvolume delete [/mnt/@tests]}} | ||
{{RootCmd|command=umount /mnt}} | {{RootCmd|command=umount /mnt}} |
Latest revision as of 04:05, 30 April 2025
To have access to the root(/) of your volume, you need to mount this separately. (Please do not confuse this with "/" of the file system)
root # mount -t btrfs -o subvol=/,defaults [/dev/sdz2] /mnt
Now you are able to create a new subvolume in a flat layout.
root # btrfs subvolume create [/mnt/@tests]
This will be shown by
root # ls -lA /mnt
root # btrfs subvolume list /mnt
This subvolume tests is empty. And it is not mounted by default. So if you want to use it, you have to mount it by fstab or other means. Now lets delete it again.
root # btrfs subvolume delete [/mnt/@tests]
root # umount /mnt