*** /usr/src/linux/Documentation/filesystems/devfs/README Thu Nov 30 03:11:38 2000 --- README.devfs Mon Feb 12 11:15:29 2001 *************** *** 444,447 **** --- 444,460 ---- openings. + [In the current implementation as of Feb 2001, + all the existing CD-ROM drives + appear under /dev/cdroms as cdrom0, cdrom1, ..., etc. + with appropriate symlinks pointing to the real CD device as in the following + snippet. + + lr-xr-xr-x 1 root root 34 Jan 1 1970 cdrom0 -> ../scsi/host1/bus0/target5/lun1/cd + lr-xr-xr-x 1 root root 34 Jan 1 1970 cdrom1 -> ../scsi/host1/bus0/target6/lun0/cd + lr-xr-xr-x 1 root root 34 Jan 1 1970 cdrom2 -> ../scsi/host1/bus0/target6/lun1/cd + + There is no /dev/sr. ] + + ----------------------------------------------------------------------------- *************** *** 1035,1039 **** cd - The SCSI generic driver creates: --- 1048,1051 ---- *************** *** 1132,1135 **** --- 1144,1161 ---- + [The current implemenation as of Feb 2001 uses the following scheme? + + All the discs including IDE are put under + /dev/discs/ + disc0, disc1, disc2, ... + + All the entries are symlinks to the real device names under /dev/ide, + /dev/scsi, etc.. + eg. + disc0 -> ../ide/host0/bus0/target0/lun0 + disc1 -> ../scsi/host0/bus0/target4/lun0 + disc2 -> ../scsi/host1/bus0/target5/lun0 + ] + SCSI Tapes *************** *** 1148,1151 **** --- 1174,1181 ---- + [The current implemenation as of Feb 2001 uses the following scheme? + Insert the current usage . ] + + SCSI CD-ROMs *************** *** 1156,1161 **** --- 1186,1226 ---- /dev/sr/c1b2t3u4 + [The above should be completely rewritten. ] + The current implemenation as of Feb 2001 uses the following scheme? + + All the CD-ROMs including the SCSI CD-ROMs are put under + /dev/cdrom + + cdrom0 -> ../scsi/host1/bus0/target5/lun1/cd + cdrom1 -> ../scsi/host1/bus0/target6/lun0/cd + cdrom2 -> ../scsi/host1/bus0/target6/lun1/cd + + There is no /dev/sr. ] + + SCSI Generic Devices + + [CI's comment: There is something wrong with the following + paragraph. There is no /dev/sg to begin with. + Shouldn't the original sentence ought to read + "All SCSI generic devices are placed ..."? + We can probably simply state that + SCSI generic devices appear under the + device directory of the form + /dev/scsi/hostC/busB/targetT/lunU/ + + + Eg. C=1, B=0, T=6, U=2 + + /dev/scsi/host1/bus0/target6/lun2: + sum 0 + drwxr-xr-x 1 root root 0 Jan 1 1970 . + drwxr-xr-x 1 root root 0 Jan 1 1970 .. + brw-rw---- 1 root cdrom 11, 3 Jan 1 1970 cd + crw------- 1 root root 21, 5 Jan 1 1970 generic + + ] + All SCSI CD-ROMs are placed under /dev/sg. A similar naming