Bcachefs: Difference between revisions
imported>Onny Add encryption example |
imported>Onny Add note on snapshots |
||
| Line 24: | Line 24: | ||
# bcachefs unlock /dev/sda | # bcachefs unlock /dev/sda | ||
# mount -t bcachefs /dev/sda /mnt | # mount -t bcachefs /dev/sda /mnt | ||
</syntaxhighlight> | |||
Create a subvolume of a mounted bcachefs filesystem. The snapshot of the filesystem state is accessible in the directory <code>/mnt/snap1</code>. | |||
<syntaxhighlight lang="console"> | |||
# bcachefs subvolume snapshot /mnt /mnt/snap1 | |||
</syntaxhighlight> | </syntaxhighlight> | ||