From owner-freebsd-hackers Mon Aug 13 1:58:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 718D137B405 for ; Mon, 13 Aug 2001 01:58:20 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f7D8wH341518; Mon, 13 Aug 2001 10:58:17 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f7D8wVq10824; Mon, 13 Aug 2001 10:58:31 +0200 (CEST) Date: Mon, 13 Aug 2001 10:58:30 +0200 From: Bernd Walter To: Terry Lambert , Matthew Jacob Cc: Bernd Walter , freebsd-hackers@FreeBSD.ORG Subject: Re: mtio questions Message-ID: <20010813105830.A10524@cicely20.cicely.de> References: <20010812140406.A7326@cicely20.cicely.de> <20010812140406.A7326@cicely20.cicely.de> <3B76CF21.C6915AB0@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B76CF21.C6915AB0@mindspring.com>; from tlambert2@mindspring.com on Sun, Aug 12, 2001 at 11:46:57AM -0700 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Aug 12, 2001 at 11:46:57AM -0700, Terry Lambert wrote: > Bernd Walter wrote: > > Another point: > > Can we '#define MTEOM MTEOD' as MTEOM is used on NetBSD and Solaris? > > "End of Message" is not the same as "End of Data" for some > drives; this could break old 8-track (no, not the music, and > not a typeo for "9-track"!) drives, e.g. Zilog and Cypher. Well that's what Solaris 8 sys/mtio.h tells about MTEOM: #define MTEOM 10 /* position to end of media */ And here NetBSD 1.5: #define MTEOM 10 /* forward to end of media */ Neither of them is saying "Message". On Sun, Aug 12, 2001 at 06:03:00PM -0700, Matthew Jacob wrote: > On Sun, 12 Aug 2001, Bernd Walter wrote: > > Another point: > > Can we '#define MTEOM MTEOD' as MTEOM is used on NetBSD and Solaris? > > Why? Please correct me if I'm wrong: If I want to append to a tape I would MTEOM on Solaris and MTEOD on FreeBSD so it's supposed to be used for the same reason. None of the OS I looked into had both. But well - that's what HP-UX define: #define MTEOD 8 /* DDS, QIC and 8MM only - seek to end-of-data */ -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message