mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
d116fe3774
Now btrfs can delete subvolumes based in ther subvolume id. This makes easy for the user willing to delete a subvolume that cannot be accessed by the mount point, since btrfs allows to mount a specific subvolume and hiding the other from the mount point. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
18 lines
449 B
Plaintext
18 lines
449 B
Plaintext
QA output created by 208
|
|
Create subvolume 'SCRATCH_MNT/subvol1'
|
|
Create subvolume 'SCRATCH_MNT/subvol2'
|
|
Create subvolume 'SCRATCH_MNT/subvol3'
|
|
Current subvolume ids:
|
|
subvol1
|
|
subvol2
|
|
subvol3
|
|
Delete subvolume (no-commit): 'SCRATCH_MNT/subvol1'
|
|
After deleting one subvolume:
|
|
subvol2
|
|
subvol3
|
|
Delete subvolume (no-commit): 'SCRATCH_MNT/subvol3'
|
|
Last remaining subvolume:
|
|
subvol2
|
|
Delete subvolume (no-commit): 'SCRATCH_MNT/subvol2'
|
|
All subvolumes removed.
|