support for existing BTRFS subvolumes

Gene Czarcinski gene at czarc.net
Thu Oct 10 19:56:09 UTC 2013


For some time I have been waiting for support by anaconda of existing 
BTRFS subvolumes.  While you really need a new root subvolume, most 
folks would want to re-use their existing /home subvolume and I am no 
different.  This is bugzilla report: 
https://bugzilla.redhat.com/show_bug.cgi?id=892747

Well, I got tired of waiting.  With the help of pdb and by doing some 
tracing, I figured out what (mostly) needed doing and it was not all 
that difficult once I realized what was happening.  There are two 
patches (one for F19 and anaconda-19.33-13 and one for F20 and 
anaconda-20.22-1) attached to the bugzilla report and I am attaching 
them here as well.  Yes, I know that is not the "right" way to submit 
patches but I am not setup right not to submit patches from my local git 
repositories.

While the patches work, there is one "little" problem that remains: the 
entry in /etc/fstab has /dev/___ rather than UUID=___ .  I am still 
looking into that.

Gene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F19-0001-fix-to-support-existing-BTRFS-subvolumes.patch
Type: text/x-patch
Size: 2064 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20131010/6f2661ec/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F20-0001-fix-to-support-existing-BTRFS-subvolumes.patch
Type: text/x-patch
Size: 2074 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20131010/6f2661ec/attachment-0001.bin>


More information about the anaconda-patches mailing list