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