diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-25 12:14:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-25 12:14:11 +0000 |
commit | 7f5508ce30ddb89239136c5d81c4b3e8368351c0 (patch) | |
tree | b4f4a3e186c60a4d7a540024770e2f261ee5244f /perl-install/fs.pm | |
parent | 21499786291db824f9745f4c0875eded9d44370d (diff) | |
download | drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.gz drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.bz2 drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.tar.xz drakx-7f5508ce30ddb89239136c5d81c4b3e8368351c0.zip |
we don't use /tmp for devices anymore
(this comes from long ago when redhat code was using a ro /dev and creating other devices in /tmp)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 2839489ba..a8c479989 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -129,7 +129,7 @@ sub merge_fstabs { sub analyze_wild_device_name { my ($dev) = @_; - if ($dev =~ m!^/(tmp|u?dev)/(.*)!) { + if ($dev =~ m!^/u?dev/(.*)!) { 'dev', $dev; } elsif ($dev !~ m!^/! && -e "$::prefix/dev/$dev") { 'dev', "/dev/$dev"; @@ -161,7 +161,7 @@ sub subpart_from_wild_device_name { } my $symlink = readlink("$::prefix$dev"); - $dev =~ s!/(tmp|u?dev)/!!; + $dev =~ s!/u?dev/!!; if ($symlink && $symlink =~ m|^[^/]+$|) { $part{device_alias} = $dev; |