From: Arvin Schnell Date: Wed, 18 Feb 2015 15:15:10 +0000 (+0100) Subject: - added explanation X-Git-Tag: v0.2.6~1^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=565b4ce0e9bf7810d89419fb4295a5fecb51ff29;p=thirdparty%2Fsnapper.git - added explanation --- diff --git a/client/installation-helper.cc b/client/installation-helper.cc index fbfbba5e..7c18f7d4 100644 --- a/client/installation-helper.cc +++ b/client/installation-helper.cc @@ -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 += "/";