From owner-freebsd-hackers Mon Jan 31 12:44:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 4ECBA15361 for ; Mon, 31 Jan 2000 12:44:28 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id OAA20659; Mon, 31 Jan 2000 14:43:57 -0600 (CST) (envelope-from dan) Date: Mon, 31 Jan 2000 14:43:56 -0600 From: Dan Nelson To: Dmitry Samersoff Cc: skafte@worldgate.com, freebsd-hackers@FreeBSD.ORG Subject: Re: HP Type C1559 problems Message-ID: <20000131144356.A20190@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from "Dmitry Samersoff" on Mon Jan 31 22:38:00 GMT 2000 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jan 31), Dmitry Samersoff said: > I have problem with HP SureStore 24x6 I can read(write) only from one > tape from catridge > > Could anybody send me ether shell or C (preferable) sequence need to > read tapes one by one? > > i.e something like: > cat /dev/rsa0 > camcontrol cmd -n rsa0.ctl -c "1B 00 00" You'll probably want to check out the "mt" and "chio" commands instead of sending raw SCSI commands :) "mt rewoffl" will rewind and eject a tape. The chio command manages autoloaders. "man mtio" for the C tape interface, and "man ch" for the C autoloader interface. > cat /dev/rsa0 -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message