diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-02-12 19:42:52 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-02-12 19:42:52 +0000 |
commit | db45b048efabc698b35fd703da71b5c12dd58235 (patch) | |
tree | 9671ec71e11f759660955a1e02fc5858aafd33e3 /perl-install/devices.pm | |
parent | 9c4e0788e89157da0ee23503ab9563712c314089 (diff) | |
download | drakx-db45b048efabc698b35fd703da71b5c12dd58235.tar drakx-db45b048efabc698b35fd703da71b5c12dd58235.tar.gz drakx-db45b048efabc698b35fd703da71b5c12dd58235.tar.bz2 drakx-db45b048efabc698b35fd703da71b5c12dd58235.tar.xz drakx-db45b048efabc698b35fd703da71b5c12dd58235.zip |
Fixes on device auto-detection:
- Made USB printer auto-detection routine in "detect_devices.pm" creating
the appropriate device nodes (needed for USB printers being recognized
during installation).
- Fixed "devices.pm" to be able to handle device files with numbers geater
than 9 (ex: /dev/usb/lp10).
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 4ccac4901..8a3f5ac41 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -111,7 +111,7 @@ sub entry { $type = c::S_IFBLK(); $major = 114; $minor = 16 * $1 + ($2 || 0); - } elsif (/(.*)(\d+)$/) { + } elsif (/(.*\D)(\d+)$/) { ($type, $major, $minor) = @{ ${{"fd" => [ c::S_IFBLK(), 2, 0 ], "hidbp-mse-" => [ c::S_IFCHR(), 10, 32 ], |