Hello everyone I have the following devices attached to the SCSI-Bus:
# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: FUJITSU Model: M2513A Rev: 1500 Type: Optical Device ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: Quantum Model: XP34300 Rev: L912 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: NEC Model: CD-ROM DRIVE:500 Rev: 1.0 Type: CD-ROM ANSI SCSI revision: 02 Device 00 is a MO-Drive (Magneto optical, removable media) and has a capacity of 606 MB. Device 01 is a normal harddisk with 4 GB capacity. When installing a current cooker of 18.08.2002 there is a problem at the partitioning stage. If there is no medium in the MO-Drive, no SCSI-Device shows up. If there is a medium in the Drive, one SCSI-Device is displayed. But this Device claims to be a Quantum XP34300 (the harddisk) while having 606 MB capacity (that's the capacity of the MO-Drive). I tried the same with diskdrake on a allready installed Mandrake 8.2 with the same result. In both cases diskdrake gets confused by this MO-Drive and mixes the devices. I looked into the sources and found two files: Mandrake 8.2 - diskdrake: /usr/lib/libDrakX/detect_devices.pm In line 163 I replaced if ($type =~ /Direct-Access/) { with if ($type =~ /(Direct-Access|Optical Device)/) { Cooker-install: Mandrake/mdkinst/usr/bin/perl-install/detect_devices.pm Here I replaced in line 187 } grep { $_->{raw_type} =~ /Direct-Access/ } @l; with } grep { $_->{raw_type} =~ /Direct-Access/ || $_->{raw_type} =~ /Optical Device/ } @l; This seems to do the trick. Now the devices show up correctly. If there is no medium in the MO-Drive diskdrake detects just the harddisk as sdb. If a medium is present in the MO-Drive both sda and sdb show up with the right names and capacity. Maybe the maintainer of diskdrake can have a look at it and include the changes ? Would be fine, thanks. cu Michi