diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-09-10 11:46:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-09-10 11:46:11 +0000 |
commit | b6956ea2b188443c2d6fa7737236e00d453110dd (patch) | |
tree | 86c1f0d09da737c7c324787fda92df884ced4525 /perl-install/install_any.pm | |
parent | 1cc16ed12d21302832e5ed059807a21877a99f83 (diff) | |
download | drakx-b6956ea2b188443c2d6fa7737236e00d453110dd.tar drakx-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.gz drakx-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.bz2 drakx-b6956ea2b188443c2d6fa7737236e00d453110dd.tar.xz drakx-b6956ea2b188443c2d6fa7737236e00d453110dd.zip |
set mount point for nt partitions by default
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 8 |
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 = ''; |