home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8248 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  3.1 KB

  1. Path: sparky!uunet!utcsri!newsflash.concordia.ca!daily-planet.concordia.ca!alcor.concordia.ca.Concordia.CA!smw
  2. From: smw@alcor.concordia.ca ( Steven Winikoff )
  3. Newsgroups: comp.unix.ultrix
  4. Subject: CD-ROM is really a pseudoterminal??
  5. Summary: "mount device busy", but mount device is pseudoterminal!
  6. Keywords: Gak!  Ugh!  Pfui!
  7. Message-ID: <5435@daily-planet.concordia.ca>
  8. Date: 11 Nov 92 23:59:30 GMT
  9. Sender: usenet@daily-planet.concordia.ca
  10. Organization: Concordia University, Montreal, Quebec
  11. Lines: 82
  12. Originator: smw@alcor.concordia.ca
  13.  
  14. Okay, picture this:
  15.  
  16. I'm innocently attempting to mount the most recent Consolidated
  17. Distribution CD in the drive on our DECsystem 5900 (Ultrix 4.2a).
  18. I admit it's been a long time since I've tried to use this CD
  19. drive, but that shouldn't matter, should it?
  20.  
  21. Okay, so I typed
  22.  
  23.     # mount -r /dev/rz5c /CD
  24.  
  25. This is the right command, right?  Well, maybe not.  All I get for
  26. my trouble is
  27.  
  28.     "ufs_mount: /dev/rz5c on /CD: Mount device busy"
  29.  
  30. Hmmm.  Not too helpful.  What next?
  31.  
  32. After looking around for a while, I finally remembered that I have a
  33. copy of pff (bless you, Dan Bernstein!).  So:
  34.  
  35.     # pff /dev/rz5c
  36.  
  37. After a second or so, pff comes back with
  38.  
  39.            CMD   PID   UID   FD D FLAGS     TYPE      INODE    FS
  40.     telnetd.gw 25019     0    4 I rw-n----- chr dev (/dev/ptyra)
  41.  
  42. Huh?  What's going on here?
  43.  
  44. Sure enough, I looked in /dev:
  45.  
  46.     # ls -Flg /dev/rz5c /dev/ptyra
  47.  
  48. Imagine my surprise when I saw this:
  49.  
  50.     crw-rw-rw-  1 root     system    21,  42 Nov 11 17:28 /dev/ptyra
  51.     brw-------  1 root     system    21,  42 Jun  9 17:45 /dev/rz5c
  52.  
  53.  
  54. WHAT'S GOING ON HERE?
  55.  
  56. In fact, it's worse than this.  It seems that *all* my SCSI disks *and*
  57. *all* my pty's have a major number of 21.  Even worse, according to
  58. /dev/MAKEDEV, that seems to be what they're *supposed* to be!
  59.  
  60. I should mention that I have a *lot* of pty's on this system.  ("No
  61. kidding", he says, as he mentions a problem with ptyra.)
  62.  
  63. That's because this particular system runs the online card catalog for
  64. our university libraries.  There are a whole *bunch* of people using
  65. telnet to this system at any given moment.
  66.  
  67. Come to think of it, the last time I used the CD successfully was
  68. before I installed the extra pty's.
  69.  
  70. So the obvious questions are:
  71.  
  72.        1)  Now what?  Am I doomed to never be able to use my CD drive
  73.            again?
  74.  
  75.        2)  Can it really be intended that disk drives and pseudo-
  76.            terminals should share the same major number?
  77.  
  78.        3)  Have I missed something obvious?
  79.  
  80. Tune in tomorrow for the thrilling conclusion!
  81.  
  82. (Actually there probably won't *be* a conclusion unless someone who
  83. knows more than I do is willing to help me out.  Aw, come on.
  84. Please?)
  85.  
  86. Thanks in advance,
  87.  
  88.      - Steven
  89.  
  90. ________________________________________________________________________
  91. Steven Winikoff      |       smw@         | "I don't want to run the
  92. Software Analyst     | alcor.concordia.ca | world; I merely want to own
  93. Computing Services   |                    | a substantial portion of the
  94. Concordia University | (514) 848-7619     | preferred stock" - Alan Dean
  95. Montreal, QC, Canada | (10:00-18:00 EST)  | Foster,  Cat-A-Lyst
  96.