Xref: utzoo comp.unix.questions:5243 comp.unix.wizards:6271 Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: File Transfer SYSV.0 --> BSD4.1 :-( Message-ID: <39603@sun.uucp> Date: 21 Jan 88 19:37:51 GMT References: <288@mergvax.UUCP> Sender: news@sun.uucp Distribution: na Lines: 27 Keywords: 300 Mb to move > Does anyone know of any tape utilities that are preferably multi-volume AND > compatible between the two flavors of Unix ? The only tape utilities that I know of that come with 4.1BSD are "tar" and "dump"/"restor". "tar" also comes with S5 (unless your vendor did something stupid such as deleting it), and the two are compatible (being based on the same code). 4BSD "tar" can read tapes made by other "tar"s, and other "tar"s can read tapes made by the 4BSD "tar" with only some warnings issued when the entries the 4BSD "tar" puts onto the tape for directories are encountered. (Everything *works* correctly, you just get noise.) The "o" option to the 4BSD "tar" will tell it not to put those entries on the tape. Neither of the versions of "tar" in question support multiple volumes. If you want multi-volume support, you'll have to port "cpio" to the 4.1BSD system (doable - it won't just compile as is, but somebody fairly knowledgable about UNIX can fix it) or port some other utility that supports multiple volumes to both systems. "dump"/"restor" supports multiple volumes, but "dump" only dumps entire file systems; while the S5 and 4.1BSD file systems are basically the same (i.e., the V7 file system), there may be some minor tweaks involved in porting it to S5. Also, note that "dump" writes binary data directly to the tape, so "dump" tapes can't necessarily be read by a vanilla "restor" on a machine with different data formats (byte order, alignment rules, etc.). Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com