summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-30 14:53:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-30 14:53:01 +0000
commit53ba1959cfce498ef897f1361f99458bdcb9bb47 (patch)
tree186e3740966733266f6c1f287250435a27f8afc8 /perl-install/any.pm
parent8e134a7a9017e3519874386457044d1c64434e09 (diff)
downloaddrakx-53ba1959cfce498ef897f1361f99458bdcb9bb47.tar
drakx-53ba1959cfce498ef897f1361f99458bdcb9bb47.tar.gz
drakx-53ba1959cfce498ef897f1361f99458bdcb9bb47.tar.bz2
drakx-53ba1959cfce498ef897f1361f99458bdcb9bb47.tar.xz
drakx-53ba1959cfce498ef897f1361f99458bdcb9bb47.zip
- new getSCSI_26() not using /proc/scsi/scsi
(since we can't say first Direct-Access entry is sda anymore) - deprecate field {raw_type} - don't fill {device} with sgX for non-(cdrom|hd|floppy) (hopefully not used by anything, except maybe scanners?) - replace scdX with srX (which everybody use)
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 30519cc5d..5eff5c9b2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -790,7 +790,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 !~ /^hd[a-z]/ && $if !~ /^scd/ && $if !~ /^sd[a-z]/;
+") if $devfs_if ne $if && $if !~ /^hd[a-z]/ && $if !~ /^sr/ && $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();