From owner-freebsd-current Sun Oct 29 19:38:24 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA27978 for current-outgoing; Sun, 29 Oct 1995 19:38:24 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA27966 for ; Sun, 29 Oct 1995 19:38:20 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.12) id TAA09564; Sun, 29 Oct 1995 19:34:38 -0800 From: Julian Elischer Message-Id: <199510300334.TAA09564@ref.tfs.com> Subject: Re: Ports - What is the standard for "ported"? To: jmb@kryten.atinc.com (Jonathan M. Bresler) Date: Sun, 29 Oct 1995 19:34:38 -0800 (PST) Cc: uhclem%nemesis@fw.ast.com, current@freebsd.org In-Reply-To: from "Jonathan M. Bresler" at Oct 29, 95 03:42:52 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1230 Sender: owner-current@freebsd.org Precedence: bulk > > On Sun, 29 Oct 1995, Frank Durda IV wrote: > > > a WangDAT tape drive that under 2.0.5 won't let you remove the media until > > you reboot the system, OR you can issue a mt offline, remove the media, and > > then reboot to get the drive to load new media - that really stinks and > > this problem must be unique to WangDAT or at least non-exabyte > 4mm tape drives. i use a 4mm for daily backup. unload the tape with > "/usr/bin/mt -f /dev/rst0 rewoffl". load a new tape every morning and > haev no problems at all. > > here is my dump.4mm script (the rewind gets the tape started, > should not be needed but is, alas) > > #!/bin/sh > echo "" >> dump.log > echo "" >> dump.log > echo "" >> dump.log > /usr/bin/mt -f /dev/rst0 rewind > /sbin/dump 0unBbf 1200000 10 /dev/nrst0 /dev/sd1a 2>&1 | tee -a ^^^^^^^^^^ this dissables the button > /root/dump.log > /sbin/dump 0unBbf 1200000 10 /dev/nrst0 /dev/sd1e 2>&1 | tee -a > /root/dump.log > /sbin/dump 0unBbf 1200000 10 /dev/rst0 /dev/sd1f 2>&1 | tee -a ^^^^^^^^ this enables it again (on close) > /root/dump.log > /usr/bin/mt -f /dev/rst0 rewoffl ^^^^^^^^ so does this >