Re: [PATCH 04/13] Get existing filesystem size for ext2, ext3, and ext4 filesystems.

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

 



On Fri, 2009-03-13 at 18:09 -1000, David Cantrell wrote:
> ---
>  storage/formats/fs.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)

Having seen how simple these are makes the main parsing method seem
nicer. Good stuff.

> 
> diff --git a/storage/formats/fs.py b/storage/formats/fs.py
> index 5fbe62d..a65f010 100644
> --- a/storage/formats/fs.py
> +++ b/storage/formats/fs.py
> @@ -783,6 +783,9 @@ class Ext2FS(FS):
>      _migrationTarget = "ext3"
>      _migratefs = "tune2fs"
>      _defaultMigrateOptions = ["-j"]
> +    _infofs = "dumpe2fs"
> +    _defaultInfoOptions = ["-h"]
> +    _existingSizeFields = ["Block count:", "Block size:"]
>  
>      @property
>      def minSize(self):

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux