Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 1995 14:46:18 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        se@ZPR.Uni-Koeln.DE (Stefan Esser)
Cc:        hackers@freebsd.org
Subject:   Re: More nits
Message-ID:  <199511012246.OAA23526@ref.tfs.com>
In-Reply-To: <199511012030.AA08173@Sysiphos> from "Stefan Esser" at Nov 1, 95 09:30:39 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hmm, but if I remember right, an "mt status"
> of a rewind tape device WILL rewind after the
> status has been printed.
as I would expect it to..
> 
> This was a little surprising, since I was not
> used to this kind of behaviour on other BSD 
> derived systems.

you WEREN'T?
the rewind device always rewinds on close..
if you don't want it to rewind you should use the non-rewind device..
I have often used a close of a rewind device to rewind it..


> 
> IMHO, a "mt status" should print information
> about the tape, but should NOT CHANGE the 
> state of the tape at all ...
> (Same for /dev/erst0: A "mt status" should not 
> eject the tape. But I've got to admit that I 
> did not check whether it does ...)

of course it does...
I don't make the action on close dependent on whether there has been any
IO or not...


> 
> Regards, STefan
> 
> -- 
>  Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
>  Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
>  ==============================================================================
>  http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>
> 




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