Xref: utzoo comp.sources.wanted:12647 comp.unix.i386:7296 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcdchg!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.sources.wanted,comp.unix.i386 Subject: Re: CPIO with remote device support Summary: afio does Keywords: Is there one somewhere? Message-ID: <1990Jul27.210025.18098@chinet.chi.il.us> Date: 27 Jul 90 21:00:25 GMT References: <644@mjbtn.JOBSOFT.COM> Organization: Chinet - Public Access UNIX Lines: 17 In article <644@mjbtn.JOBSOFT.COM> root@mjbtn.JOBSOFT.COM (Mark J. Bailey) writes: >Hello, > >Does anyone know if there is a PD version of cpio (like afio) that >supports remote devices over ethernet like the new GNU Tar does >(ie, remotename:/dev/erct0). SCO Unix's cpio has a -O option that >supports output direct to a device instead of to stdout. Funny you should mention afio, since it does exactly what you want if you have rsh. If your rsh happens to be named something else you will change the sprintf() that constructs the command (line 584 in the copy I've got). It also requires a copy of afio on the remote machine, where the undocumented -O or -I options are used to copy raw data to/from the device. Les Mikesell les@chinet.chi.il.us