home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!alsys1!ksksun!ksk
- From: ksk@ksksun.bioc.aecom.yu.edu (Ken Krauter)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: Adding to a TAR tape
- Summary: Yes you can!!
- Keywords: DAT 8mm 4mm
- Message-ID: <1177@alsys1.aecom.yu.edu>
- Date: 10 Sep 92 16:34:07 GMT
- References: <33639@samsung.samsung.com>
- Sender: news@alsys1.aecom.yu.edu
- Reply-To: ksk@ksksun.bioc.aecom.yu.edu
- Followup-To: ksk@ksksun.ca.aecom.yu.edu
- Organization: Sun Microsystems, Inc.
- Lines: 33
- Nntp-Posting-Host: ksksun.ca.aecom.yu.edu
-
-
- >The problem here is the device name. "rst8" is the "rewind" device.
- >After each operation the tape is rewound. Use "nrst8" instead.
- >
- >--
-
- Well, if I remember this thread from the beginning, the original question was if it was possible to use the u or r options
- to tar on an 8mm exabyte helical scan device. Well--------- I have a 4mm DAT drive (HP 35480A) which, when
- turned on thinks is an exabyte 8500 drive (the kernel only knows about 8mm drives without mods) so that as far as the
- computer is concerned I have an 8mm drive. Anyhow, I use tar or bar for archiving all the time and the u and r options
- work as advertised. i.e. I can update a single tarfile on tape just fine.
-
- mt -f /dev/rst0 rewind
- tar cvf /dev/rst0 ./*
-
- then create an new file in '.' called hello
-
- mt -f /dev/rst0 rewind
- tar rvf /dev/rst0 ./hello
-
- And voila! hello appears at the end of the tarfile with a `tar vtf /dev/rst0`.
- The specification of rst0 or nrst0 is important because rst0 completes each operation with a rewind. The mt commands
- listed above were unnecessary but merely illustrate that I only was writing or reading the first tarfile on the tape. This
- tar u or r approach definitely does not work with QIC tapes (1/4") just as the man says. I think helical scan drives can
- accurately position the tape even when used in streaming mode. As an aside, the DAT (and I believe the 8mm)
- are both capable of operating as a block device or character device and several vendors (Apunix for one) have
- drivers to actually treat the tape as a diskdrive with random access and formatting. They claim high speed operation
- (though I doubt is is as fast as say dump) for backups, recoveries and file changes.
-
- good luck.
- ken krauter
-
-
-