Displaying 3 results from an estimated 3 matches for "subvol2".
Did you mean:
subvol
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
..."
+
+here=`pwd`
+tmp=/tmp/$$
+status=1 # failure is the default!
+trap "_cleanup; exit \$status" 0 1 2 3 15
+
+_cleanup()
+{
+ umount $SCRATCH_MNT
+ rm -rf $TESTDIR1
+ rm -rf $TESTDIR2
+ btrfs subvolume delete $SUBVOL1 >> $seqres.full
+ btrfs subvolume delete $SUBVOL2 >> $seqres.full
+ cd /
+ rm -f $tmp.*
+}
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filter
+
+# real QA test starts here
+_supported_fs btrfs
+_supported_os Linux
+
+_require_scratch
+_require_cp_reflink
+
+_checksum_files() {
+ for F in file1 file2...
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
..."
+
+here=`pwd`
+tmp=/tmp/$$
+status=1 # failure is the default!
+trap "_cleanup; exit \$status" 0 1 2 3 15
+
+_cleanup()
+{
+ umount $SCRATCH_MNT
+ rm -rf $TESTDIR1
+ rm -rf $TESTDIR2
+ btrfs subvolume delete $SUBVOL1 >> $seqres.full
+ btrfs subvolume delete $SUBVOL2 >> $seqres.full
+ cd /
+ rm -f $tmp.*
+}
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filter
+
+# real QA test starts here
+_supported_fs btrfs
+_supported_os Linux
+
+_require_scratch
+_require_cp_reflink
+
+_checksum_files() {
+ for F in file1 file2...
2012 Jun 29
12
[PATCH 1/3] Btrfs-progs: add support to set subvolume/snapshot readonly
Setting subvolume/snapshot readonly has been missing for a long time.
With this patch, we can set a subvolume/snapshot readonly via:
o btrfs subvolume set-ro <path>
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
---
cmds-subvolume.c | 40 ++++++++++++++++++++++++++++++++++++++++
ioctl.h | 7 +++++++
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git