[blivet] Allow specifying which swaps should appear in fstab

David Lehman dlehman at redhat.com
Wed Oct 2 16:55:31 UTC 2013


On Wed, 2013-10-02 at 15:35 +0200, Vratislav Podzimek wrote:
> On Wed, 2013-10-02 at 08:31 -0500, David Lehman wrote:
> > On Wed, 2013-10-02 at 15:21 +0200, Vratislav Podzimek wrote:
> > > Not all swaps should be used by the system in some cases.
> > 
> > I'd rather if you specified the swaps as devices instead of formats.
> That was my first approach as well, but there was a problem with
> autoparititioning that doesn't have devices in the end. Or can I get
> them somehow from the results of findActions?

The devices should be in the tree after autopart. It just has to be at
the end of doAutoPartition or later. findActions would work, but
shouldn't be necessary -- I'd rather solve the problem you were seeing
than resort to findActions for this purpose.

> 
> > Also, it would be nice if you could conform the new methods to the
> > (admittedly ugly) style of the surrounding code.
> No problem. :)
> 




More information about the anaconda-patches mailing list