Subject: Ok, we have been envoked.

From: Alan B Clegg <[email-masked]>
Date: Mon, 30 Mar 92 9:07:11 EST

[email-masked] (Ed Carp) stated in a recent posting on device names:

=I understand, and agree with you, but I think that the standards folks should
=just choose a standard, and then people can do the "ln -s" dance to make
=them whatever they want to.  What the standards for the name are, in my
=opinion, irrelevent, since one can always link them to something else.
=You wouldn't want to actually RENAME them, of course, because someone
=will most certainly write software to conform to the standard that you
=just changed (and broke their software in the process).  For example,
=/dev/tty should remain /dev/tty, but if someone doesn't like it, they can
=always "ln -s /dev/tty /dev/mytty" or some such.

Ok, since the file system standard went over so well, I propose this
(open for discussion):

/dev/wd			-- Western Digital and related disk controllers
/dev/wd0		-- entire disk 0
/dev/wd1		-- entire disk 1
/dev/wd01		-- disk 0, partition 1
				--etc--

/dev/sd			-- SCSI controllers		
/dev/sd0		-- entire DEVICE 0
/dev/sd01		-- DEVICE 0, LUN 1
/dev/sd011		-- DEVICE 0, LUN 1, partition 1		[???]
				--etc--

/dev/tty		-- "your" tty
/dev/tty[a-d]		-- com1 -> com4				[???]
				[from SunOS]
/dev/ttyv[1-4]		-- "virtual terminals"			[???]
/dev/console		-- /dev/ttyv1				[???]
/dev/ttyp[0-f]		-- pseudo terminals
/dev/ttyq[0-f]		   pseudo terminals

/dev/lp[ab]		-- lpt1, lpt2

Ok, now... DISCUSS IT...  Let's set a date of.. oh.. Wednesday the 1st of
April as the date for the first draft...

-abc
-- 
[email-masked]				Alan Clegg - Network Programmer
KD4JML (just my luck!)			MCNC -- Center for Communications

---

From: "Jim Winstead Jr." <[email-masked]>
Date: Mon, 30 Mar 92 9:36:47 PST

>/dev/wd01		-- disk 0, partition 1

Okay, what are 'Western Digitial and related controllers' as opposed
to anything else?  Is this just 'standard' AT controllers?  If so, I'd
recommened staying with /dev/hd*.

>/dev/tty[a-d]		-- com1 -> com4				[???]

I think it should be /dev/tty[0-3].  Most things should be kept
zero-based, I think, since it just makes things more consistent.

>/dev/ttyv[1-4]		-- "virtual terminals"			[???]

What would /dev/ttyv0 refer too?  Another name for the current ttyv?  Makes
sense to me.

>/dev/ttyq[0-f]		   pseudo terminals

These look reasonable, but leave room for expansion in the pseudo
terminals.  (On my school computer, it runs from ttyp[0-9a-zA-z] and
stuff like that.)

>/dev/lp[ab]		-- lpt1, lpt2

Again, I'd have to vote for /dev/lp[01].  Makes more sense to me.
--
Jim Winstead Jr. (CSci '95)    | "Catch a fish!"
Harvey Mudd College            |  -Geddy Lee,
[email-masked] |   San Diego Sports Arena
Disclaimer: Mine, not theirs!  |   January 20, 1992

---

From: [email-masked] (Werner Almesberger)
Date: Mon, 30 Mar 1992 20:17:08 +0000

> /dev/console		-- /dev/ttyv1				[???]

I think, there should be a "current virtual console", maybe /dev/console
or /dev/ttyv ?

> /dev/ttyq[0-f]		   pseudo terminals

How about /dev/ttyp[0-9][0-9] and /dev/ttyq[0-9][0-9] ? Being limited to
16 ptys seems to be a bit odd in the days of iScreen and X.

- Werner

-- 
   _________________________________________________________________________
  / Werner Almesberger, ETH Zuerich, CH      [email-masked] /
 / IFW A44  Tel. +41 1 254 7213                 [email-masked] /
/_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/

---

From: [email-masked] (Thomas David Rivers)
Date: 30 Mar 92 13:34:30 EST (Mon)

I prefer names like (as least as far as floppy/hard disks are concerned):

  /dev/dsk/fd096          1.44 meg floppy disk
  /dev/dsk/0s0            Entire first SCSI disk
  /dev/dsk/0s1		  Partition #1 of first SCSI disk
  /dev/dsk/0s2		  Partition #2 of first SCSI dsik
	...
  /dev/dsk/0p0            First MFM disk (entire disk)
  /dev/dsk/0p1		  First partition of first MFM disk
  /dev/dsk/0p2

   with analagous /dev/rdsk/xxxx  for the raw devices.

  Also, we might provide links from /dev/dsk/xxx to /dev/xxx for an
 installed (autoconfiged?) disk.  That was, all the possible names
 don't clutter up the /dev directory... only the names a user would
 want to see.

  This is also rather SysVish - don't get the idea I thought of this
 on my own... :-)

         - Dave R. -

  p.s. We may want to consider such a naming scheme for tapes as well.