[PATCH 2/5] Override any default subvol when mounting main btrfs volume. (#921757)

David Lehman dlehman at redhat.com
Thu May 2 17:58:01 UTC 2013


---
 blivet/devices.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/blivet/devices.py b/blivet/devices.py
index c5000d2..aa96d3d 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -4005,7 +4005,8 @@ class BTRFSVolumeDevice(BTRFSDevice):
                                     exists=self.exists,
                                     label=label,
                                     volUUID=self.uuid,
-                                    device=self.path)
+                                    device=self.path,
+                                    mountopts="subvolid=0")
             self.originalFormat = copy.copy(self.format)
 
     def _setFormat(self, format):
-- 
1.8.1.4



More information about the anaconda-patches mailing list