From owner-freebsd-current Sun May 7 2:48:29 2000 Delivered-To: freebsd-current@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C6EA837B566 for ; Sun, 7 May 2000 02:48:26 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id CAA71998 for ; Sun, 7 May 2000 02:48:26 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Sun, 7 May 2000 02:48:25 -0700 (PDT) From: Kris Kennaway To: current@freebsd.org Subject: Undocumented tape devices in pax(1) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can someone explain to me why pax(1) has (undocumented) switches which select some tape devices, but apparently randomly numbered ones: From tar.h: /* * default device names */ #define DEV_0 "/dev/rmt0" #define DEV_1 "/dev/rmt1" #define DEV_4 "/dev/rmt4" #define DEV_5 "/dev/rmt5" #define DEV_7 "/dev/rmt7" #define DEV_8 "/dev/rmt8" 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? 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? Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message