diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 10:49:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 10:49:50 +0000 |
commit | c8ce3f30f989c27e94abd258f27814b516ae5ea0 (patch) | |
tree | e16bf438dea9505d7018ad10fee64503bcaa73ea | |
parent | 80c54d5ea9cdd5d1237adb563db70077b5d5f0ec (diff) | |
download | drakx-c8ce3f30f989c27e94abd258f27814b516ae5ea0.tar drakx-c8ce3f30f989c27e94abd258f27814b516ae5ea0.tar.gz drakx-c8ce3f30f989c27e94abd258f27814b516ae5ea0.tar.bz2 drakx-c8ce3f30f989c27e94abd258f27814b516ae5ea0.tar.xz drakx-c8ce3f30f989c27e94abd258f27814b516ae5ea0.zip |
part2wild_device_name('', $part) is better than devices::make($part->{device}) (esp. for nfs "devices")
-rw-r--r-- | perl-install/fs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 0f757f888..e7a5322f0 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -596,7 +596,7 @@ sub mount_part { } elsif (loopback::carryRootLoopback($part)) { $mntpoint = "/initrd/loopfs"; } - my $dev = devices::make($part->{real_device} || $part->{device}); + my $dev = $part->{real_device} || part2wild_device_name('', $part); mount($dev, $mntpoint, $part->{fs_type}, $b_rdonly, $part->{options}, $o_wait_message); rmdir "$mntpoint/lost+found"; } |