FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 09-21-2010, 12:21 AM
Josef Bacik
 
Default Make BTRFS a supported install target

Hello,

Looks like my original patch got held up at moderation, so trying
again from a different address. This patch removes the need for a
special anaconda option to install onto BTRFS, which has become stable
enough for wider testing. This is based on what is done for XFS, so
hopefully it's right. Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-23-2010, 05:13 PM
Chris Lumens
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-24-2010, 12:05 AM
Josef Bacik
 
Default Make BTRFS a supported install target

On Thu, Sep 23, 2010 at 1:13 PM, Chris Lumens <clumens@redhat.com> wrote:
>> 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?
>

Yes as of 2.6.35 it's mostly feature complete and very stable.
Hopefully by the time F15 actually gets released we'll have a working
fsck as well. Thanks,

Josef

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 09-24-2010, 12:05 AM
Josef Bacik
 
Default Make BTRFS a supported install target

On Thu, Sep 23, 2010 at 1:13 PM, Chris Lumens <clumens@redhat.com> wrote:
>> 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?
>

Yes as of 2.6.35 it's mostly feature complete and very stable.
Hopefully by the time F15 actually gets released we'll have a working
fsck as well. Thanks,

Josef

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org