home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!ogicse!mimbres.cs.unm.edu!constellation!geohub.gcn.uoknor.edu!dwight
- From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
- Newsgroups: comp.unix.aix
- Subject: Re: overwrite EOT on 8mm tape?
- Message-ID: <BxIE1x.HGF@constellation.ecn.uoknor.edu>
- Date: 10 Nov 92 16:34:38 GMT
- Article-I.D.: constell.BxIE1x.HGF
- References: <1992Nov9.174751.4158@ednor.bbc.com>
- Sender: usenet@constellation.ecn.uoknor.edu (Usenet Administrator)
- Reply-To: dwight@geohub.gcn.uoknor.edu
- Organization: Geosciences Computing Network, Univ. of Oklahoma
- Lines: 41
- Originator: usenet@kittyhawk.ecn.uoknor.edu
-
- In article <1992Nov9.174751.4158@ednor.bbc.com>, nsd@ednor.bbc.com (Nick Duffek) writes:
-
- |>Does anyone know how to append a file on AIX to an 8mm tape that ends with EOT?
- |>(Note that AIX only writes EOT when writing to a device file whose
- |>rewind-on-close bit is set, i.e. /dev/rmt<n>, /dev/rmt<n>.2, /dev/rmt<n>.4,
- |>/dev/rmt<n>.6). I believe this is equivalent to overwriting any file starting
- |>anywhere not at BOT.
-
- |>Nick
-
- We discovered some interesting things about Exabyte 8mm tape drives in terms of
- writing files. (If someone else has other information, I'm interested)
-
- 1. The only place you can write on the tape are the following:
- A. Using "short" EOF marks
- 1.) BOT
- 2.) End of data (EOD) mark
- B. Using "long" EOF marks
- 1.) On 8200s, you can also write at the BOT side of an EOF mark
- 2.) On 8500's, you can write at either side of an EOF mark.
-
- 2. Use a real tape drive...
-
- This is from documentation for Exabyte 8500 drives from TTI on a VAX.
-
- This complicates things if you write directly to tape and are appending files.
- To write logical EOT marks (not physical), you must backup to just before and EOF
- mark, and write two EOFs . The EOD mark is the last place written to on the tape.
-
- Your best bet may be to write a dummy file at the end of your tape, start the
- append overwriting the dummy file, and append a new dummy file after you
- are done?...sigh...
-
- ---------------------------------------------------------------------------
- Dwight D. Moore
- Geosciences Computing Network
- University of Oklahoma
-
- dwight@geohub.gcn.uoknor.edu (129.15.40.10)
- These opinions do not necessarily represent the opinions of OU or the GCN.
- ----------------------------------------------------------------------------
-