From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:28:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7EE716A4B3 for ; Thu, 16 Oct 2003 23:28:22 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 764FA43FBD for ; Thu, 16 Oct 2003 23:28:21 -0700 (PDT) (envelope-from andreas.kohn@gmx.net) Received: (qmail 12448 invoked by uid 65534); 17 Oct 2003 06:28:20 -0000 Received: from unknown (EHLO [172.16.32.190]) (212.204.32.190) by mail.gmx.net (mp014) with SMTP; 17 Oct 2003 08:28:20 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: "Marco Greene (Home)" In-Reply-To: <000001c39421$dccbc800$f8c8a8c0@pepstep> References: <000001c39421$dccbc800$f8c8a8c0@pepstep> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zfMidjqJz7w3wTZOmVGd" Message-Id: <1066372150.666.6.camel@klamath> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 17 Oct 2003 08:29:10 +0200 cc: "'List, FreeBSD Questions'" Subject: Re: Tape Device file differences... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 06:28:22 -0000 --=-zfMidjqJz7w3wTZOmVGd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-10-16 at 22:12, Marco Greene (Home) wrote: > ..I am a little confused about tape devices in FreeBSD. >=20 > Under the /dev directory...I have the following tape devices: > # ls *sa* > ersa0 esa0.1 nrsa0.3 rsa0.0 sa0.1 > ersa0.0 esa0.2 nsa0 rsa0.1 sa0.2 > ersa0.1 esa0.3 nsa0.0 rsa0.2 sa0.3 > ersa0.2 nrsa0 nsa0.1 rsa0.3 sa0.ctl > ersa0.3 nrsa0.0 nsa0.2 rsa0.ctl > esa0 nrsa0.1 nsa0.3 sa0 > esa0.0 nrsa0.2 rsa0 sa0.0 >=20 > I have figured out most of it by searching on the net...but any > clarification or pointers to documentation would be helpful. >=20 > This is what I have figured out so far (feel free to correct me if I am > wrong). > -e[r]sa0 =3D Eject > -n[r]sa0 =3D No Rewind > -[r]sa0 =3D Rewind > -The .ctl file should be used with the "mt" command. >=20 >=20 >=20 > This is what I still need explained: > -The difference between the /dev/*rsa0 devices and /dev/?sa0 devices? i.= e. > What is the "r" for? The r stands for "raw" access (vs. "block" access without r) IIRC. The sa(4) manpage has more information about the different modes of the tape, which are coded into the first and second bit of the minor number (see ls -l /dev/*sa*) > -What is the .0, .1, .2 and .3? I think those refer to different units. /dev/sa0 is a symlink to /dev/sa0.0 on my machine. >=20 > Thanks, > Marco >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Andreas Kohn --=-zfMidjqJz7w3wTZOmVGd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/j4w2Yucd7Ow1ygwRAu7QAJkB4TigroOeHtAVTr7sQk5BERulJACaAgtw IPCtSe+F10KkCz8HggBQ2pw= =X6IU -----END PGP SIGNATURE----- --=-zfMidjqJz7w3wTZOmVGd--