[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Don't understand how devfsd and ide-scsi are working together



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I need to link /dev/dvd to the scsi device allocated by ide-scsi when it 
starts up (earlier posts about a week ago explain why this is needed to watch 
dvds).

I have just upgraded to use devfsd and I seem to not have the scsi device 
created by ide-scsi until I do something completely strange.  See below

/proc/scsi/scsi lists the device as scsi device 1 thus

kanger:/dev/scsi# more /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: TEAC     Model: CD-R55S          Rev: 1.0J
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: PIONEER  Model: DVD-ROM DVD-104  Rev: 2.02
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: eUSB     Model: SmartMedia       Rev: 5.04
  Type:   Direct-Access                    ANSI SCSI revision: 02

But if I do an ls of the supposidly correct directory

kanger:/# ls /dev/scsi/host1/bus0/target0/lun0/
kanger:/# ls /dev/scsi/host1/bus0/target0/lun0/

I get nothing (ie the directory is empty)

As soon as I do the following (which theoretically has nothing to do with it)

kanger:/# ls /dev/scsi/host1/bus0/target0/lun2/
ls: /dev/scsi/host1/bus0/target0/lun2/: No such file or directory

I can them immediately repeat the orginal

kanger:/# ls /dev/scsi/host1/bus0/target0/lun0/
cd

and now get the "cd" device listed.

At the same time much of the rest of /dev comes to life /dev/cdroms appear for 
instance (where it wasn't before) and it has two cd's mentioned.

Whats happening?

- --
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+mTx7uFHxcV2FFoIRAuoJAJ9IFDG6xXDLlYEBMX0juVa/Kr1nOACfZwHL
1vxPWwSYAyBrvTwM8zFtDSA=
=lK3l
-----END PGP SIGNATURE-----



Reply to: