[PATCH 0/2] Allow adding btrfs subvolumes into devicetree outside Anaconda

Vojtech Trefny vtrefny at redhat.com
Mon Dec 8 14:24:48 UTC 2014


Currently blivet is not recognizing btrfs subvolumes when not in installer mode. There are two prob
lems: 
1) devices.btrfs.listSubVolumes uses only originalFormat._mountpoint when looking for subvolumes bu
t for existing btrfs volumes originalFormat._mounpoint is always None and mountpoint is stored in f
ormat._mountpoint
2) devicetree.populate (or devicetree.handleBTRFSFormat) skips devices with existing format -- e.g. already added into devicetree but without mountpoint (and without subvolumes):wq

Vojtech Trefny (2):
  Use format.mountpoint for BTRFS listSubVolumes
  Allow handling device format for already handled BTRFS

 blivet/devices/btrfs.py | 14 +++++++++-----
 blivet/devicetree.py    |  8 +++++---
 2 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.1.0



More information about the anaconda-patches mailing list