[PATCH 2/3] Add support for detecting btrfs default subvolume.

Vratislav Podzimek vpodzime at redhat.com
Mon Nov 18 09:55:12 UTC 2013


On Fri, 2013-11-15 at 17:28 -0800, Brian C. Lane wrote:
> On Fri, Nov 15, 2013 at 08:32:01AM -0600, David Lehman wrote:
> > ---
> >  blivet/devicelibs/btrfs.py | 16 ++++++++++++++++
> >  blivet/devices.py          | 31 +++++++++++++++++++++++++++++--
> >  blivet/devicetree.py       |  3 +++
> >  3 files changed, 48 insertions(+), 2 deletions(-)
> > 
> > diff --git a/blivet/devicelibs/btrfs.py b/blivet/devicelibs/btrfs.py
> > index eba27f7..1661f53 100644
> > --- a/blivet/devicelibs/btrfs.py
> > +++ b/blivet/devicelibs/btrfs.py
> > @@ -32,6 +32,8 @@ _ = lambda x: gettext.ldgettext("blivet", x)
> >  import logging
> >  log = logging.getLogger("blivet")
> >  
> > +main_volume_id = 5
> > +
> 
> This should be all caps.
And it also deserves a comment, I think/

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list