From owner-freebsd-bugs Sun Sep 10 18:40: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5233B37B422 for ; Sun, 10 Sep 2000 18:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA90471; Sun, 10 Sep 2000 18:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 10 Sep 2000 18:40:02 -0700 (PDT) Message-Id: <200009110140.SAA90471@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: csg@waterspout.com (C. Stephen Gunn) Subject: Re: bin/21178: voltag selector, and unload support for chio(1) Reply-To: csg@waterspout.com (C. Stephen Gunn) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/21178; it has been noted by GNATS. From: csg@waterspout.com (C. Stephen Gunn) To: mjacob@feral.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/21178: voltag selector, and unload support for chio(1) Date: Sun, 10 Sep 2000 20:35:53 -0500 On Sun, 10 Sep 2000 16:40:33 MST, Matthew Jacob wrote: > Why doesn't somebody just merge the equivalent fixes from NetBSD's chio in > to FreeBSD? Or where they already done? This isn't actually a fix. It allows you to select a media unit to move by voltag. It should make it easier for products like amanda to drive a tape-changer with barcode reader on FreeBSD. You can simply ask for a specific tape by voltag: chio move voltag VOLUME-03 drive 0 The other feature is the "unload" command which checks the source parameter returned in the changer_element_status record. If there's a source parameter, we "unload" the media by moving it back where the drive reports it came from. This the logic to request a certain tape (if you have a barcode reader or equivalent): chio unload drive chio move voltag