From owner-freebsd-stable Wed Apr 3 10: 2:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.quantified.com (ns2.quantified.com [63.212.171.3]) by hub.freebsd.org (Postfix) with ESMTP id 8D01237B419; Wed, 3 Apr 2002 10:02:09 -0800 (PST) Received: from danzig.sd.quantified.net (web.quantified.com [63.212.171.5]) by mail.quantified.com (8.12.1/8.12.1) with ESMTP id g33I2Uw8068123; Wed, 3 Apr 2002 10:02:31 -0800 (PST) (envelope-from dsilver@quantified.com) Date: Wed, 3 Apr 2002 10:02:09 -0800 (PST) From: Doug Silver X-Sender: dsilver@danzig.sd.quantified.net To: "Crist J. Clark" Cc: "Kenneth D. Merry" , stable@FreeBSD.ORG Subject: Re: SCSI tape error using Amanda/dump In-Reply-To: <20020402152030.C52193@blossom.cjclark.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (mail.quantified.com) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. Thanks all. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver Network Manager Quantified Systems, Inc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message