]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added explanation
authorArvin Schnell <aschnell@suse.de>
Wed, 18 Feb 2015 15:15:10 +0000 (16:15 +0100)
committerArvin Schnell <aschnell@suse.de>
Wed, 18 Feb 2015 15:15:10 +0000 (16:15 +0100)
client/installation-helper.cc

index fbfbba5e53e074b6d460be17974db2111589e4c1..7c18f7d4d699ff9031ceb26d22ad61ca236a1b12 100644 (file)
@@ -110,6 +110,9 @@ step2(const string& device, const string& root_prefix, const string& default_sub
 
     cout << "mounting device" << endl;
 
+    // The btrfs subvol mount option is either "@/.snapshots" or just
+    // ".snapshots" depending on whether default_subvolume_name is e.g. "@" or
+    // "".
     string subvol_option = default_subvolume_name;
     if (!subvol_option.empty())
        subvol_option += "/";