From 97df13266244ee8a97621b85074355f537e8c782 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 21 Apr 2005 18:34:20 +0000 Subject: Copy filesystem options over for preexisting partitions so they show up in /etc/fstab (#97560). --- autopart.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'autopart.py') 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: -- cgit