From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 6 Sep 1995 06:12:59 -0400 From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk Subject: How to get access scsi CDROM? Topicbox-Message-UUID: 20c09ea0-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950906101259.9ZE2eDH5R5Xy97pduTOxeri4U3UGHO4BjAUWCs31a4Y@z> see cdrom(3) and dossrv(4) for details. 9660srv can serve several CDROM devices. you select a particular one using a parameter to the mount command; see bind(1). check that directory /n/cd exists: it might be called /n/cdrom. if neither exists, just mkdir /n/cd first. chmod 555 /n/cd . there isn't anything special about that name, by the way. you can mount the cdrom's contents anywhere that isn't silly. suppose the CDROM is set to SCSI ID 6 (if not, make appropriate substitutions in the device names below). then: bind -a '#R6' /dev # note the '...' protecting the # in #R ls -l /dev/cd6 # should show something useful mount /srv/9660 /n/cd /dev/cd6 # now the contents of /dev/cd6 are visible under /n/cd, # in the current name space. you can also name the #R device directly in the mount command, without the bind: mount /srv/9660 /n/cd '#R6/cd6' if #R isn't known, try substituting #w6 for #R6 and #w6/sd6disk for #R6/cd6 throughout. note that if you mount the Plan 9 CDROM this way using the 4 diskette system, you can try: bind -b /n/cd/386/bin /bin bind -b /n/cd/rc/bin /bin and make something nearer the full command set available. (you might then need to do something similar for /sys and /lib for commands that need special data files.)