summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-03-06 13:59:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-03-06 13:59:19 +0000
commit429df73cb313f2e6dae6894c6df6f3b30a392060 (patch)
treeeef90042b1ded2f47849e309cce3eac7aa5e674c /perl-install/any.pm
parent8bc2113e4bad6e92997920ab320e01db44718026 (diff)
downloaddrakx-backup-do-not-use-429df73cb313f2e6dae6894c6df6f3b30a392060.tar
drakx-backup-do-not-use-429df73cb313f2e6dae6894c6df6f3b30a392060.tar.gz
drakx-backup-do-not-use-429df73cb313f2e6dae6894c6df6f3b30a392060.tar.bz2
drakx-backup-do-not-use-429df73cb313f2e6dae6894c6df6f3b30a392060.tar.xz
drakx-backup-do-not-use-429df73cb313f2e6dae6894c6df6f3b30a392060.zip
don't create xxx.conf for standard devfs compatibility names
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 288ce6917..6554d64f5 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -785,7 +785,7 @@ UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $of
output_p("$::prefix/etc/devfs/conf.d/$if.conf",
"REGISTER ^$devfs_if\$ CFUNCTION GLOBAL mksymlink $devfs_if $if
UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $if
-") if $devfs_if ne $if;
+") if $devfs_if ne $if && $if !~ /^hd[a-z]/ && $if !~ /^scd/ && $if !~ /^sd[a-z]/;
#- when creating a symlink on the system, use devfs name if devfs is mounted
symlinkf($devfs_if, "$::prefix/dev/$if") if $devfs_if ne $if && detect_devices::dev_is_devfs();