Date: Wed, 3 Apr 2002 14:32:22 -0700 From: "Kenneth D. Merry" <ken@kdm.org> To: Doug Silver <dsilver@quantified.com> Cc: "Crist J. Clark" <cjc@FreeBSD.ORG>, stable@FreeBSD.ORG Subject: Re: SCSI tape error using Amanda/dump Message-ID: <20020403143222.A73766@panzer.kdm.org> In-Reply-To: <Pine.LNX.4.21.0204030834360.22347-100000@danzig.sd.quantified.net>; from dsilver@quantified.com on Wed, Apr 03, 2002 at 10:02:09AM -0800 References: <20020402152030.C52193@blossom.cjclark.org> <Pine.LNX.4.21.0204030834360.22347-100000@danzig.sd.quantified.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 03, 2002 at 10:02:09 -0800, Doug Silver wrote:
> On Tue, 2 Apr 2002, Crist J. Clark wrote:
> > On Tue, Apr 02, 2002 at 11:11:32AM -0800, Doug Silver wrote:
> > [snip]
> >
> > > I think I saw it was mentioned that the /dev/r* device was only there for
> > > historical reasons and was probably going away -- but don't quote me on that ;)
> >
> > True. There have been no block devices (they're all character devices,
> > "raw" devices) for a long time.
> >
> > $ ls -l /dev/{e,n,}{,r}sa0
> > crw-rw---- 4 root operator 14, 2 Jun 23 2001 /dev/ersa0
> > crw-rw---- 4 root operator 14, 2 Jun 23 2001 /dev/esa0
> > crw-rw---- 4 root operator 14, 1 Jun 23 2001 /dev/nrsa0
> > crw-rw---- 4 root operator 14, 1 Jun 23 2001 /dev/nsa0
> > crw-rw---- 4 root operator 14, 0 Jun 23 2001 /dev/rsa0
> > crw-rw---- 4 root operator 14, 0 Jun 23 2001 /dev/sa0
> >
>
> I guess I must have been asleep during my sys-admin class when they
> discussed devices;) Even after many years of doing this, I only seem to
> have a peripheral knowledge of devices and how they truly work. Anyway,
> in this case, the 'r' device isn't documented in the sa (4) man page, so I
> guess that was where my confusion came in, but after trying the /dev/nrsa0
> device, Amanda seems to work like the champ it is. I'm assuming 'nrsa0'
> means non-rewind+raw device, which in retrospect is why the kernel was
> giving that error when I used 'nsa0' and Amanda probably tried to rewind
> it to check the label.
As you can see from above, nrsa0 and nsa0 are the same.
They're both non-rewind devices.
/dev/sa0 and /dev/rsa0 are the rewind devices.
Ken
--
Kenneth Merry
ken@kdm.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403143222.A73766>
