Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2003 08:29:10 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        "Marco Greene (Home)" <mgreene@aci.on.ca>
Cc:        "'List, FreeBSD Questions'" <freebsd-questions@freebsd.org>
Subject:   Re: Tape Device file differences...
Message-ID:  <1066372150.666.6.camel@klamath>
In-Reply-To: <000001c39421$dccbc800$f8c8a8c0@pepstep>
References:  <000001c39421$dccbc800$f8c8a8c0@pepstep>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--=-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 <andreas.kohn@gmx.net>

--=-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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1066372150.666.6.camel>