]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- create read-only btrfs snapshots
authorArvin Schnell <aschnell@suse.de>
Fri, 21 Oct 2011 10:07:24 +0000 (12:07 +0200)
committerArvin Schnell <aschnell@suse.de>
Fri, 21 Oct 2011 10:07:24 +0000 (12:07 +0200)
doc/snapper.8.in
package/snapper.changes
snapper/Filesystem.cc

index 181ab3fd1a714da087f9a5e8c2ca520709687b03..499fccccc27ac72fe443220299eae66b524e59d7 100644 (file)
@@ -13,8 +13,10 @@ snapper \fBhelp\fR
 .SH "DESCRIPTION"
 .LP
 Snapper is a command\-line program for filesystem snapshot management. It can
-create, delete and compare snapshots and undo changes between
-snapshots. Supported filesystems are btrfs and ext4.
+create, delete and compare snapshots and undo changes done between snapshots.
+.LP
+Snapper never modifies the content of snapshots. Thus snapper creates
+read-only snapshots. Supported filesystems are btrfs and ext4.
 
 .SH CONCEPTS
 
index d5d424e48b12f653069a61535a10370e1a27c1df..98126142da0a7b3a3d4a7e223968d45fc6eed33e 100644 (file)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Oct 21 11:34:27 CEST 2011 - aschnell@suse.de
+
+- create read-only btrfs snapshots
+
 -------------------------------------------------------------------
 Wed Oct 12 15:12:41 CEST 2011 - aschnell@suse.de
 
index 3fae80c8cf115048ea38ee39b1440d9dd1dfd266..b5b09cbedf08520c8036074c79b11cf324c58e88 100644 (file)
@@ -87,7 +87,7 @@ namespace snapper
     void
     Btrfs::createSnapshot(unsigned int num) const
     {
-       SystemCmd cmd(BTRFSBIN " subvolume snapshot " + quote(subvolume) + " " +
+       SystemCmd cmd(BTRFSBIN " subvolume snapshot -r " + quote(subvolume) + " " +
                      quote(snapshotDir(num)));
        if (cmd.retcode() != 0)
            throw CreateSnapshotFailedException();