From owner-freebsd-stable Wed Apr 3 13:32:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 3332037B416; Wed, 3 Apr 2002 13:32:36 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id g33LWMO73828; Wed, 3 Apr 2002 14:32:22 -0700 (MST) (envelope-from ken) Date: Wed, 3 Apr 2002 14:32:22 -0700 From: "Kenneth D. Merry" To: Doug Silver Cc: "Crist J. Clark" , stable@FreeBSD.ORG Subject: Re: SCSI tape error using Amanda/dump Message-ID: <20020403143222.A73766@panzer.kdm.org> References: <20020402152030.C52193@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from dsilver@quantified.com on Wed, Apr 03, 2002 at 10:02:09AM -0800 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 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