[PATCH] Allow specifying logvol, part, and volgroup sizes as strings.

Chris Lumens clumens at redhat.com
Mon May 5 13:56:07 UTC 2014


> > +class F21_VolGroup(F20_VolGroup):
> > +    def _getParser(self):
> > +        op = F20_VolGroup._getParser(self)
> > +        op.add_option("--pesize", dest="pesize", default=32768)
> Where did this number come from?                    ^^^^^
> AFAICT, default PE size is 4 MiB and I cannot see this number anywhere
> else in this patch.

It's in the FC3_VolGroup class:

ac7a60b6 (Chris Lumens  2007-02-19 16:56:45 +0000 113) op.add_option("--pesize", dest="pesize", type="int", nargs=1,
ac7a60b6 (Chris Lumens  2007-02-19 16:56:45 +0000 114)               default=32768)

- Chris


More information about the anaconda-patches mailing list