Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Mark HFS+ as fsckable (http://www.linux-archive.org/centos/634000-mark-hfs-fsckable.html)

Matthew Garrett 02-16-2012 04:52 PM

Mark HFS+ as fsckable
 
HFS+ filesystems will be mounted read-only if they're not clean, so get
fstab set up correctly.
---
pyanaconda/storage/formats/fs.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 51d5ee7..591187a 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1368,6 +1368,7 @@ class HFSPlus(FS):
_mountType = "hfsplus"
_minSize = 1
_maxSize = 2 * 1024 * 1024
+ _check = True
partedSystem = fileSystemType["hfs+"]

register_device_format(HFSPlus)
--
1.7.7.6

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

"Brian C. Lane" 02-16-2012 07:04 PM

Mark HFS+ as fsckable
 
On Thu, Feb 16, 2012 at 12:52:28PM -0500, Matthew Garrett wrote:
> HFS+ filesystems will be mounted read-only if they're not clean, so get
> fstab set up correctly.
> ---
> pyanaconda/storage/formats/fs.py | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
> index 51d5ee7..591187a 100644
> --- a/pyanaconda/storage/formats/fs.py
> +++ b/pyanaconda/storage/formats/fs.py
> @@ -1368,6 +1368,7 @@ class HFSPlus(FS):
> _mountType = "hfsplus"
> _minSize = 1
> _maxSize = 2 * 1024 * 1024
> + _check = True
> partedSystem = fileSystemType["hfs+"]
>
> register_device_format(HFSPlus)
> --
> 1.7.7.6

Ack to the rest of these Mactel patches.

--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 09:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.