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

Re: [PATCH] Make BTRFS a supported install target



> diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
> index c3ea79c..0d01fd4 100644
> --- a/pyanaconda/storage/formats/fs.py
> +++ b/pyanaconda/storage/formats/fs.py
> @@ -1101,7 +1101,7 @@ class BTRFS(FS):
>      _linuxNative = True
>      _bootable = False
>      _maxLabelChars = 256
> -    _supported = False
> +    _supported = True
>      _dump = True
>      _check = True
>      _packages = ["btrfs-progs"]
> @@ -1125,15 +1125,6 @@ class BTRFS(FS):
>          argv = ["-r", "%dm" % (self.targetSize,), self.device]
>          return argv
>  
> -    @property
> -    def supported(self):
> -        """ Is this filesystem a supported type? """
> -        supported = self._supported
> -        if flags.cmdline.has_key("btrfs"):
> -            supported = self.utilsAvailable
> -
> -        return supported
> -
>  register_device_format(BTRFS)

This looks like it would work.  I wonder if it's the right time to do
this, though.  What's btrfs support look like in the kernel and user
space tools?  Has it stabilized?

- Chris


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