9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk
Subject: How to get access scsi CDROM?
Date: Wed,  6 Sep 1995 06:12:59 -0400	[thread overview]
Message-ID: <19950906101259.9ZE2eDH5R5Xy97pduTOxeri4U3UGHO4BjAUWCs31a4Y@z> (raw)

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.)







             reply	other threads:[~1995-09-06 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-06 10:12 forsyth [this message]
1995-09-06 18:50 Kenji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950906101259.9ZE2eDH5R5Xy97pduTOxeri4U3UGHO4BjAUWCs31a4Y@z \
    --to=forsyth@plan9.cs.york.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).