Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.os.linux.development.system,comp.unix.bsd.freebsd.misc Subject: Re: tpqic02: LAST call for help Date: 19 Dec 1995 21:04:46 GMT Organization: Private BSD site, Dresden Lines: 33 Message-ID: <4b79de$52i@uriah.heep.sax.de> References: <4a6vve$l46@senator-bedfellow.mit.edu> <RDONG.95Dec8133059@chow.uci.edu> <RDONG.95Dec11113515@chow.mat.jhu.edu> <4anj90$mqa@uriah.heep.sax.de> <DJo68z.7qH@citylink.dinoex.sub.org> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 Xref: euryale.cc.adfa.oz.au comp.os.linux.development.system:14108 comp.unix.bsd.freebsd.misc:10860 peter@citylink.dinoex.sub.org (Peter Much) writes: > You're an optimist.;) I had to change the wt.c file a bit to get it > working in a reliable way: > 1. The "mt fsf" command returns immediately, while the tape is winding. This seems to be intention, though it differs from the behaviour of the `st' driver. > 2. The "dd" command reports an error after waiting 60 secs. on the > winding, i.e. blocked, device. Hmm, there must be a bug somewhere. The following lines of code from wtopen() are supposed to wait until the rewind is complete: /* If the tape is in rewound state, check the status and set density. */ if (t->flags & TPSTART) { /* If rewind is going on, wait */ if (error = wtwait (t, PCATCH, "wtrew")) return (error); Once i've got my scratchbox up&running again, i'll check if i can reproduce this. Perhaps the driver should be converted to behave similar to `st', even though i think that wt's behaviour seems to be more convenient. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)