mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
174e29730f
This test just runs through all of the basic btrfs commands that manipulate our subvolume stuff. It creates a snapshot, a subvolume, sets the subvolume as a default, lists the volumes and deletes the snapshot. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
41 lines
747 B
Plaintext
41 lines
747 B
Plaintext
QA output created by 254
|
|
Creating file foo in root dir
|
|
List root dir
|
|
foo
|
|
Creating snapshot of root dir
|
|
Create a snapshot of '/mnt/scratch' in '/mnt/scratch/snap'
|
|
List root dir after snapshot
|
|
foo
|
|
snap
|
|
List snapshot dir
|
|
foo
|
|
List root dir after rm of foo
|
|
snap
|
|
List snapshot dir
|
|
foo
|
|
Create subvolume '/mnt/scratch/subvol'
|
|
Listing root dir
|
|
snap
|
|
subvol
|
|
Listing subvol
|
|
Creating file bar in subvol
|
|
Setting subvol to the default
|
|
List root dir which is now subvol
|
|
bar
|
|
Mounting sbuvolid=0 for the root dir
|
|
List root dir
|
|
snap
|
|
subvol
|
|
Setting the root dir as the default again
|
|
List root dir
|
|
snap
|
|
subvol
|
|
Listing subvolumes
|
|
ID 256 top level 5 path snap
|
|
ID 257 top level 5 path subvol
|
|
Delete subvolume '/mnt/scratch/snap'
|
|
List root dir
|
|
subvol
|
|
List root dir
|
|
subvol
|