Article View: comp.sys.next.misc
Article #4215Re: How to mount NeXTSTEP_3.0 CDROM
From: Richard O'Neill
Date: Thu, 31 Dec 1992 21:32
Date: Thu, 31 Dec 1992 21:32
51 lines
2515 bytes
2515 bytes
Jay Finger <finger@convex.com> writes:
>
> Can somebody tell me what options I need to give to mount(8) so that I can
> mount the 3.0 CDROM? I need to get to some data on the disk while in
> single-user, so letting Workspace automount the disk is not an option.
No, no one can tell you a command that will work for sure on your machine,
because the necssary parameters depend on which logical device your
CD-ROM drive is. If you have no other SCSI devices besides the hard-drive
that came inside your next, than the device will almost certainly be
"sd1", and thus you'll usually refer to the CD-ROM as "/dev/sd1a" (or
sometimes "/dev/rsd1a").
A way to check is to watch what happens when you boot, my NeXT says:
QUANTUM PD210S Rev 508D as sd0 at sc0 target 1 lun 0
Disk Label: MyDisk
Disk Capacity 199MB, Device Block 512 bytes
SONY CD-ROM CDU-541 Rev 2.6a as sd1 at sc0 target 4 lun 0
Disk Label: NeXTSTEP_3.0 ^^^------------------------- N.B.
Disk Capacity 659MB, Device Block 2048 bytes
Disk is Write Protected
I have my NeXT always mount the NeXTSTEP_3.0 at startup, which just meant
adding the following line to the file "/etc/fstab":
/dev/sd1a /NeXTSTEP_3.0 4.3 ro,noquota,removable 0 2
If I was giving these options to the mount command by hand, I guess the
following would work:
next_mach# mount -t 4.3 -o ro,noquota,removable /dev/sd1a /NeXTSTEP_3.0
(Although, that might be overkill, "mount /dev/sd1a /NeXTSTEP_3.0" might
be all that's required).
If you want to eject the disk, the following should work:
next_mach# umount /NeXTSTEP_3.0
next_mach# disk -e /dev/rsd1a
Finally, if you ever want to know what the "correct" parameters are for
a disk that you can automount, look at /etc/mtab when the disk is
automounted, at the very least, it should serve as a good starting point.
Hope this helps, best regards,
Richard.
---
"This advice is provided as is, but WITHOUT WARRANTY..." / Richard O'Neill
/ oneill@cs.sfu.ca
Technical Details
Message-ID:
<1992Dec31.213217.1174@cs.sfu.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!fornax!oneillReferences:
<1992Dec31.173505.19462@convex.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!fornax!oneill From: oneill@cs.sfu.ca (Richard O'Neill) Subject: Re: How to mount NeXTSTEP_3.0 CDROM Message-ID: <1992Dec31.213217.1174@cs.sfu.ca> Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada References: <1992Dec31.173505.19462@convex.com> Date: Thu, 31 Dec 1992 21:32:17 GMT Lines: 51