diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-25 05:18:09 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-25 05:18:09 +0000 |
commit | f79ccca82d3a7cbe181ee44b4378527f746d7d76 (patch) | |
tree | 2bc2095c5fa941b54a8abc38b4a160cafd3a48ba /partRequests.py | |
parent | 5e2e10c0d9fb34877ccae201dcd27813074f44c4 (diff) | |
download | anaconda-f79ccca82d3a7cbe181ee44b4378527f746d7d76.tar.gz anaconda-f79ccca82d3a7cbe181ee44b4378527f746d7d76.tar.xz anaconda-f79ccca82d3a7cbe181ee44b4378527f746d7d76.zip |
record preexisting fstype for a lv
Diffstat (limited to 'partRequests.py')
-rw-r--r-- | partRequests.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/partRequests.py b/partRequests.py index bf113df08..51de2e70c 100644 --- a/partRequests.py +++ b/partRequests.py @@ -520,8 +520,15 @@ class RaidRequestSpec(RequestSpec): raidminor is the minor of the device which should be used. """ + # if it's preexisting, the original fstype should be set + if preexist == 1: + origfs = fstype + else: + origfs = None + RequestSpec.__init__(self, fstype = fstype, format = format, - mountpoint = mountpoint, preexist = preexist) + mountpoint = mountpoint, preexist = preexist, + origfstype = origfs) self.type = REQUEST_RAID |