diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-09-18 14:45:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-09-18 14:45:58 +0000 |
commit | 199ab0a5b2619835a8f8637784ec9b66df620ee2 (patch) | |
tree | 0e16ef1a183f16d995555a9a77470114bf3919ad | |
parent | 980dc41437dfb0366107fbee49cc514163a3999a (diff) | |
download | drakx-backup-do-not-use-199ab0a5b2619835a8f8637784ec9b66df620ee2.tar drakx-backup-do-not-use-199ab0a5b2619835a8f8637784ec9b66df620ee2.tar.gz drakx-backup-do-not-use-199ab0a5b2619835a8f8637784ec9b66df620ee2.tar.bz2 drakx-backup-do-not-use-199ab0a5b2619835a8f8637784ec9b66df620ee2.tar.xz drakx-backup-do-not-use-199ab0a5b2619835a8f8637784ec9b66df620ee2.zip |
- add ntfs in isOtherAvailableFS
- but ensure it is not in isMountableRW
-rw-r--r-- | perl-install/partition_table.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 06ebc0354..c7342f0e7 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -244,8 +244,8 @@ sub isHiddenMacPart { defined $_[0]{isMap} } sub isThisFs { type2fs($_[1]) eq $_[0] } sub isTrueFS { member(type2fs($_[0]), qw(ext2 reiserfs xfs jfs ext3)) } -sub isOtherAvailableFS { isFat($_[0]) || isSunOS($_[0]) || isThisFs('hfs', $_[0]) } #- other OS that linux can access its filesystem -sub isMountableRW { isTrueFS($_[0]) || isOtherAvailableFS($_[0]) } +sub isOtherAvailableFS { isFat($_[0]) || isSunOS($_[0]) || isThisFs('hfs', $_[0]) || isThisFs('ntfs', $_[0]) } #- other OS that linux can access its filesystem +sub isMountableRW { (isTrueFS($_[0]) || isOtherAvailableFS($_[0])) && !isThisFs('ntfs', $_[0]) } sub isNonMountable { isRawRAID($_[0]) || isRawLVM($_[0]) } sub isPartOfLVM { defined $_[0]{lvm} } |