Borsenkow Andrej writes:
> To prove that it is needed:
>
> {vc/1}:~%> ll /dev/scsi/host1/bus0/target3/lun0/cd
> brw------- 1 bor cdrom 11, 0 ñÎ× 1 1970
> /dev/scsi/host1/bus0/target3/lun0/cd
> {vc/1}:~%> sudo rmmod ide-scsi
> {vc/1}:~%> ll /dev/scsi/host1/bus0/target3/lun0/cd
> ls: /dev/scsi/host1/bus0/target3/lun0/cd: No such file or directory
> {vc/1}:~%> sudo mv /etc/modules.devfs /etc/modules.devfs.orig
> {vc/1}:~%> sudo mv /etc/modules.devfs.new /etc/modules.devfs
> {vc/1}:~%> ll /dev/scsi/host1/bus0/target3/lun0/cd
> brw------- 1 bor cdrom 11, 0 ñÎ× 1 1970
> /dev/scsi/host1/bus0/target3/lun0/cd
>
> regards
>
> -andrej
>
>
> --- /etc/modules.devfs.orig Sun Mar 17 21:38:23 2002
> +++ /etc/modules.devfs Sun Mar 17 21:41:39 2002
> @@ -54,7 +54,7 @@
> # SCSI CD-ROMs
> probeall /dev/scd scsi_hostadapter sr_mod
> alias /dev/scd* /dev/scd
> -alias /dev/scsi/*/cd sr_mod
> +alias /dev/scsi/*/cd /dev/scd
OK, I've done this (except that I use the official /dev/sr name
instead of the renegade /dev/scd name).
BTW: your line:
probeall /dev/scd scsi_hostadapter sr_mod
is wrong in any case, because that line is supposed to be for the "new
compatibility" names (i.e. /dev/sr/c0b0t6u0) that devfsd creates. So
you've broken autoloading using the new compatibility names.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|