summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-10 11:46:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-10 11:46:11 +0000
commitb6956ea2b188443c2d6fa7737236e00d453110dd (patch)
tree86c1f0d09da737c7c324787fda92df884ced4525
parent1cc16ed12d21302832e5ed059807a21877a99f83 (diff)
downloaddrakx-backup-do-not-use-b6956ea2b188443c2d6fa7737236e00d453110dd.tar
drakx-backup-do-not-use-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.gz
drakx-backup-do-not-use-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.bz2
drakx-backup-do-not-use-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.xz
drakx-backup-do-not-use-b6956ea2b188443c2d6fa7737236e00d453110dd.zip
set mount point for nt partitions by default
-rw-r--r--perl-install/install_any.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 36b55537b..0007f7f88 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1052,6 +1052,14 @@ sub getHds {
}
}
+ {
+ my @nt = grep { isNT($_) && isNT({ type => fsedit::typeOfPart($_->{device}) }) } @{$o->{fstab}};
+ log::l("nt parts: ", join ",", map { $_->{device} } @nt) if @nt;
+ my $i; foreach (@nt) {
+ $_->{mntpoint} = $_->{unsafeMntpoint} = "/mnt/nt" . ($i++ ? $i : '');
+ }
+ }
+
my @sunos = grep { isSunOS($_) && type2name($_->{type}) =~ /root/i } @{$o->{fstab}}; #- take only into account root partitions.
if (@sunos) {
my $v = '';