summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-04-21 18:34:20 +0000
committerChris Lumens <clumens@redhat.com>2005-04-21 18:34:20 +0000
commit97df13266244ee8a97621b85074355f537e8c782 (patch)
treee184f3f333e009faa523ad2e2f6f2c5090da5855 /autopart.py
parent28139134b282d2e8cceb21ebc61a407f354fd6a8 (diff)
downloadanaconda-97df13266244ee8a97621b85074355f537e8c782.tar.gz
anaconda-97df13266244ee8a97621b85074355f537e8c782.tar.xz
anaconda-97df13266244ee8a97621b85074355f537e8c782.zip
Copy filesystem options over for preexisting partitions so they show up in
/etc/fstab (#97560).
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index d2b5f7b0e..e43166641 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1252,6 +1252,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
req.badblocks = request.badblocks
if request.uniqueID: # for raid to work
req.uniqueID = request.uniqueID
+ if request.fsopts:
+ req.fsopts = request.fsopts
if not request.format:
req.format = 0
else:
@@ -1279,6 +1281,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
req.badblocks = request.badblocks
if request.uniqueID: # for raid to work
req.uniqueID = request.uniqueID
+ if request.fsopts:
+ req.fsopts = request.fsopts
if not request.format:
req.format = 0
else:
@@ -1311,6 +1315,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
if request.uniqueID: # for raid to work
oldid = req.uniqueID
req.uniqueID = request.uniqueID
+ if request.fsopts:
+ req.fsopts = request.fsopts
if not request.format:
req.format = 0
else:
@@ -1345,6 +1351,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
req.mountpoint = request.mountpoint
if request.uniqueID: # for raid to work
req.uniqueID = request.uniqueID
+ if request.fsopts:
+ req.fsopts = request.fsopts
if not request.format:
req.format = 0
else: