Kris Kennaway <[EMAIL PROTECTED]> wrote:
> Can someone explain to me why pax(1) has (undocumented) switches which
> select some tape devices, but apparently randomly numbered ones:
Note that these switches appear only in pax' tar compatibility
personality, which isn't used in FreeBSD. And the reason they're
there is because old versions of tar had them.
I'm looking at 4.3BSD's usr/src/bin/tar.c right now, and it supports
- to select the respective "/dev/rmt#" device.
> These are selectable through -0, -1, -4, etc. Nevermind the fact that they
> point to devices which have never existed in FreeBSD, but why on earth
> wouldn't you want -2, -3, or -6?
Back in 4.3BSD, bits 0 and 1 of the minor number seem to have
specified the device, bit 2 marked non-rewinding, bit 3 6250bpi
(high density?). That explains rmt well enough, although
rmt remain unclear.
> Anyway, does anyone see the point in leaving these in (changing the
> devices to /dev/rsa<#> and documenting their existence), or should I rip
> them out?
OpenBSD only changed "rmt" to "rst" ("rsa" for us), which isn't
particularly useful. Solaris uses 0..7 to select an entry from
/etc/default/tar, which specifies device name, block size, and tape
I guess mapping - to rsa, and - to nrsa still makes
about the most sense.
Unless you intend to revive pax' tar personality under FreeBSD
(which would suggest merging in OpenBSD's changes), I'd say just
Christian "naddy" Weisgerber [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message