Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 00:00:04 -0700 (PDT)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/21178: voltag selector, and unload support for chio(1)
Message-ID:  <200009110700.AAA36777@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/21178; it has been noted by GNATS.

From: "Kenneth D. Merry" <ken@kdm.org>
To: csg@waterspout.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, ajk@waterspout.com,
	ab@eas.purdue.edu, dpm@vutar.com
Subject: Re: bin/21178: voltag selector, and unload support for chio(1)
Date: Mon, 11 Sep 2000 00:56:23 -0600

 On Sun, Sep 10, 2000 at 18:19:40 -0500, csg@waterspout.com wrote:
 > >Description:
 > 
 > chio(1) provides no mechanism to select media by "voltag."
 > chio(1) provides no mechanism to return a media unit to its source.
 > 
 > >How-To-Repeat:
 > 
 > N/A - new feature request.
 > 
 > >Fix:
 > 
 >  o A pseudo-element type selector "voltag" that can be used to select
 >    source elements:
 > 
 >       chio move voltag VOLUME-03 drive 0
 > 
 >       chio exchange voltag VOLUME-03 voltag VOLUME-04
 > 
 >  o A new sub-command "unload" that returns a media unit to the source
 >    element reported by 'chio status -a':
 > 
 >       chio unload drive 0
 >       chio unload voltag VOLUME-03
 > 
 > A patch relative to 4.1-STABLE (should work on 5.0-CURRENT as well) is
 > available at:
 > 
 >     http://www.physics.purdue.edu/~csg/FreeBSD/chio.patch
 
 Looks like a pretty good idea.
 
 I took a cursory glance through the patch, and noticed the 'XXX' comment
 about looking through pickers and portals.
 
 I'd suggest looking at them as well, even if it won't be used very often.
 (I've moved things from pickers and portals often enough, though.)
 
 I also wonder about the 'unload' keyword.  It almost sounds like something
 you might use to eject a tape or something.  What about calling it 'return'
 instead?  (I don't feel really strongly about this, but I figure we ought
 to make things intuitive, if possible.)
 
 Anyway, I'll try to give the patch a more thorough look-over in the next
 few days.  I won't be able to do more than that before committing it,
 though, since I don't have a test changer anymore.  (You've obviously
 tested it, though, so we should be okay in that department.)
 
 Ken
 -- 
 Kenneth Merry
 ken@kdm.org
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009110700.AAA36777>