home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / misc / 23446 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  2.5 KB

  1. Xref: sparky comp.sys.next.misc:23446 comp.sys.next.sysadmin:7266
  2. Newsgroups: comp.sys.next.misc,comp.sys.next.sysadmin
  3. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!fornax!oneill
  4. From: oneill@cs.sfu.ca (Richard O'Neill)
  5. Subject: Re: How to mount NeXTSTEP_3.0 CDROM
  6. Message-ID: <1992Dec31.213217.1174@cs.sfu.ca>
  7. Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
  8. References: <1992Dec31.173505.19462@convex.com>
  9. Date: Thu, 31 Dec 1992 21:32:17 GMT
  10. Lines: 51
  11.  
  12. Jay Finger <finger@convex.com> writes:
  13. >
  14. > Can somebody tell me what options I need to give to mount(8) so that I can
  15. > mount the 3.0 CDROM?  I need to get to some data on the disk while in
  16. > single-user, so letting Workspace automount the disk is not an option.
  17.  
  18. No, no one can tell you a command that will work for sure on your machine,
  19. because the necssary parameters depend on which logical device your
  20. CD-ROM drive is. If you have no other SCSI devices besides the hard-drive
  21. that came inside your next, than the device will almost certainly be
  22. "sd1", and thus you'll usually refer to the CD-ROM as "/dev/sd1a" (or
  23. sometimes "/dev/rsd1a").
  24.  
  25. A way to check is to watch what happens when you boot, my NeXT says:
  26.  
  27.     QUANTUM PD210S Rev 508D as sd0 at sc0 target 1 lun 0
  28.             Disk Label: MyDisk
  29.         Disk Capacity 199MB, Device Block 512 bytes
  30.     SONY    CD-ROM CDU-541 Rev 2.6a as sd1 at sc0 target 4 lun 0
  31.         Disk Label: NeXTSTEP_3.0   ^^^------------------------- N.B.
  32.         Disk Capacity 659MB, Device Block 2048 bytes
  33.         Disk is Write Protected
  34.  
  35. I have my NeXT always mount the NeXTSTEP_3.0 at startup, which just meant
  36. adding the following line to the file "/etc/fstab":
  37.  
  38. /dev/sd1a /NeXTSTEP_3.0 4.3 ro,noquota,removable 0 2
  39.  
  40. If I was giving these options to the mount command by hand, I guess the
  41. following would work:
  42.  
  43. next_mach# mount -t 4.3 -o ro,noquota,removable /dev/sd1a /NeXTSTEP_3.0
  44.  
  45. (Although, that might be overkill, "mount /dev/sd1a /NeXTSTEP_3.0" might
  46. be all that's required).
  47.  
  48. If you want to eject the disk, the following should work:
  49.  
  50. next_mach# umount /NeXTSTEP_3.0
  51. next_mach# disk -e /dev/rsd1a
  52.  
  53. Finally, if you ever want to know what the "correct" parameters are for
  54. a disk that you can automount, look at /etc/mtab when the disk is
  55. automounted, at the very least, it should serve as a good starting point.
  56.  
  57. Hope this helps, best regards,
  58.  
  59.     Richard.
  60. ---
  61. "This advice is provided as is, but WITHOUT WARRANTY..." /  Richard O'Neill
  62.                             /  oneill@cs.sfu.ca
  63.