Re: [PATCH] Fix ks --useexisting and --noformat options of logvol and volgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Radek Vykydal wrote:
Radek Vykydal wrote:

@@ -881,7 +882,11 @@ class VolGroup(commands.volgroup.FC3_VolGroup):
             if not device:
raise KicsktartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent VG %s in volgroup command" % vgd.vgname) - devicetree.registerAction(ActionCreateFormat(device))
+            for lv in device.lvs:
+                format = getFormat(lv.format.type,
+                                   mountpoint=lv.format.mountpoint,
+                                   mountopts=lv.format.mountopts)
+ devicetree.registerAction(ActionCreateFormat(lv, format))
Now I realize that I was assuming that "Use an existing logical volume and reformat it." means format it to original format and options, moreover mountpoint setting
is wrong because mountpoint set in ks should be used
Taking it back - this format is planned in VolGroup, so we have to use all information
from existing format.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux