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

Re: [PATCH 5/5] Get existing fs size for xfs.



On Thu, 2009-05-14 at 12:55 -1000, David Cantrell wrote:
> ---
>  storage/formats/fs.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/storage/formats/fs.py b/storage/formats/fs.py
> index 7b70b49..c8b9b4a 100644
> --- a/storage/formats/fs.py
> +++ b/storage/formats/fs.py
> @@ -1095,6 +1095,9 @@ class XFS(FS):
>      _dump = True
>      _check = True
>      _packages = ["xfsprogs"]
> +    _infofs = "xfs_db"
> +    _defaultInfoOptions = "-c \"sb 0\" -c \"p dblocks\" -c \"p blocksize\""

Oops -- spoke too soon. The above list needs to be in brackets.

> +    _existingSizeFields = ["dblocks =", "blocksize ="]
>  
>  register_device_format(XFS)
>  


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