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

Re: [PATCH] Don't check mountable before obtaining actual/existing fs size. (#733808)



On Tue, Aug 30, 2011 at 04:46:23PM -0500, David Lehman wrote:
> NTFS is not mountable but we do support resizing them so we need to be
> able to get the size of an existing NTFS filesystem.
> ---
>  pyanaconda/storage/formats/fs.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
> index 9cb35d5..90d97e7 100644
> --- a/pyanaconda/storage/formats/fs.py
> +++ b/pyanaconda/storage/formats/fs.py
> @@ -255,7 +255,7 @@ class FS(DeviceFormat):
>          """
>          size = self._size
>  
> -        if self.infofsProg and self.mountable and self.exists and not size:
> +        if self.infofsProg and self.exists and not size:
>              try:
>                  values = []
>                  argv = self._defaultInfoOptions + [ self.device ]
> -- 
> 1.7.6

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpCjjNPsdru1.pgp
Description: PGP signature


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