Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 11:50:01 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        freebsd-doc@freebsd.org
Subject:   Re: docs/24786: missing FILES descriptions in sa(4)
Message-ID:  <200102091950.f19Jo1K06123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/24786; it has been noted by GNATS.

From: Julian Elischer <julian@elischer.org>
To: Nik Clayton <nik@freebsd.org>
Cc: Rich Morin <rdm@cfcl.com>, FreeBSD-gnats-submit@freebsd.org,
	julian@freebsd.org, mjacob@freebsd.org
Subject: Re: docs/24786: missing FILES descriptions in sa(4)
Date: Fri, 09 Feb 2001 11:44:06 -0800

 Nik Clayton wrote:
 > 
 > I'm copying Julian and Matt on this, who know more about this subsystem
 > than I do.
 > 
 > On Thu, Feb 01, 2001 at 03:51:47PM -0800, Rich Morin wrote:
 > > >Number:         24786
 > > >Category:       docs
 > > >Synopsis:       missing FILES descriptions in sa(4)
 > 
 > <...>
 > 
 > >       The sa(4) man page neglects to give definitions for
 > >         /dev/[en][r]sa0.
 > 
 > Yes it does.
 > 
 > The device name takes the form
 > 
 >    /dev/[n][e]sa[0-9]
 > 
 > If it's just /dev/sa then the device will try and rewind the tape when
 > the device is closed.
 > 
 > If there's a leading 'n' then the device will not be rewound.
 > 
 > If there's a leading 'e' then the device will be ejected on close.
 > 
 > So if your application opens /dev/nesa0, and then closes the device, the
 > tape will not be rewound, and the driver will tell the drive to eject
 > the tape.
 > 
 > This is all in the FILES section.
 > 
 > 'r' means 'raw', but that isn't used on FreeBSD any more.  It looks as
 > if MAKEDEV wasn't updated to remove the code that creates the rsa*
 > devices.
 > 
 > >         It also fails to describe the meaning
 > >         of the ".[0-3]" extensions (e.g., /dev/sa0.1).
 > 
 > Covered in the SUB-MODES section in the man page (I think), although this is
 > somewhat cryptic.
 > 
 > We could probably add something like
 > 
 >     /dev/sa0.0          Corresponds to sub-mode 00
 >     /dev/sa0.1          Corresponds to sub-mode 01
 >     /dev/sa0.2          Corresponds to sub-mode 10
 >     /dev/sa0.3          Corresponds to sub-mode 11
 > 
 > to the FILES section.
 > 
 > Matt, Julian, any thoughts on
 > 
 >   1.  Adding the above to the FILES section.
 > 
 >   2.  Remove the code from MAKEDEV that creates /dev/rsa*
 > 
 > If it's OK, I'll go and commit.
 
 OK by me, but I haven't been hearding that code for about 5 years :-)
 check who's doing all the commts therre these days... Probably Ken Merry
 
 there was also a control device that allowed you to set teh modes for each
 virtual device.
 I assume that's still documented correctly..
 
 
 
 > 
 > N
 > --
 > Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
 > Telephone line, $24.95 a month.  Software, free.  USENET transmission,
 > hundreds if not thousands of dollars.  Thinking before posting, priceless.
 > Somethings in life you can't buy.  For everything else, there's MasterCard.
 >   -- Graham Reed, in the Scary Devil Monastery
 
 -- 
       __--_|\  Julian Elischer
      /       \ julian@elischer.org
     (   OZ    ) World tour 2000-2001
 ---> X_.---._/  
             v
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102091950.f19Jo1K06123>