btrfs install over an existing rootfs

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

 



Not all directory trees are created equal and anaconda requires that the directory tree (partition) for the rootfs (that is "/") must be either new or reformatted. This works for regular partitions and the LVMLVs. However, there is no real concept of "reformatting" an existing btrfs subvolume.

This applies to kickstart only as the regular gui/text installers handle the situation already.

Proposal: Add code to implement a new feature for btrfs subvolumes which will implement the equivalent of reformatting. This equivalent will consist of deleting the subvolume and then recreating it.

As I originally implemented this I added a new operand to the btrfs command for a subvolume: --reclaim
[This involves a small patch to pykickstart]

While I considered using and existing operand in some fashion, I believe that the "safe" approach is to require the user to specify this new operand is the intent is to reclaim the subvolume's name and then reuse it.

Comments?

Gene

_______________________________________________
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