Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!blackbush.xlink.net!news.uni-mainz.de!news.th-darmstadt.de!odb!oldst.rhein-main.de!moth From: moth@oldst.rhein-main.de (Thilo Hawers) Newsgroups: comp.unix.admin,comp.sys.sun.hardware,comp.unix.solaris,comp.sys.sun.admin,comp.unix.bsd.bsdi.misc Distribution: inet Message-ID: <H.eg.oC4O3c3FYao@oldst.rhein-main.de> Organization: Old Atari's UUCP-Site X-News: HERMES MMAIL 1.10 Rev. May 17 1993 Subject: Re: Using ZIP drive across UNIX hardware platforms? References: <4cb9aq$9d5@gilligan.htc.com> X-Software: Tass 3.3a for HERMES Date: Wed, 03 Jan 1996 21:58:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lines: 59 Xref: euryale.cc.adfa.oz.au comp.unix.admin:36494 comp.sys.sun.hardware:30955 comp.unix.solaris:55478 comp.sys.sun.admin:59527 comp.unix.bsd.bsdi.misc:1802 naughton@htc.com (Thomas Naughton) writes: > I have a couple of IOMEGA ZIP drives (one at work, and one >.. >.. > on each of the systems, I'd like to be able to share data between > the two platforms (alternatively, I'd like it to work with SGI, AIX, > etc.). > I have tried to use `dd`, and `tar`, but because it's not a > tape drive, it doesn't seem to work right. Both systems don't use >.. Using the zip drives as raw-devices should work with 'tar' or 'cpio', but: I don't know how long the filenames are allowed to be on BSD? Maybe you will get problems with longer filenames than 14 characters? If both system use different byte-orders, I would use 'dd' for swapping the bytes (option 'conv=swab'). I did this a few years ago with a tar- tape from a SGI which I had to read on our Intergraph-Server. Example with 'cpio': Writing: $ cd <source-directory> $ find . -depth -print | cpio -ovc > /dev/rdsk/<zip_device> Reading (on the other machine): $ cd <destination-directory> $ dd if=/dev/rdsk/<zip_device> conv=swab | cpio -ivcmdu | ^ if the byte-order is different <--+ | | -c option for compatibility.. --------------------+ Example with 'tar': Writing with $ tar cvf /dev/rdsk/<zip_device> * Reading with $ dd if=/dev/rdsk/<zip_device> conv=swap | tar xvf - I hope this helps Thilo -- +----------------------------------------------------------------------+ | Thilo Hawers, EMail: moth@oldst.rhein-main.de, Phone:+49/618171182 | | System Manager CAD/UNIX | | PGP-2.6 public-key available on request | +----------------------------------------------------------------------+