On 2005/11/23 22:07:49, Olivier Cherrier wrote: > On Tue, Nov 22, 2005 at 01:08:24PM +0100, [EMAIL PROTECTED] wrote: > > >>3. Restore a 'disk image' from above... > > >> # nc -l 1234 | dd of=/dev/rwd0c > > > > > >You can already do those things with 'ftp -o -'.. > > > > unless I read ftp(1) incorrectly, then it supports retrieve only, > > with no ability to send - which was my main desire. > > You can download and upload files using ftp(1). > I use to do it since OpenBSD 2.9, using standard floppies.
With ftp in a pipe, you can only retrieve. Sending dmesg or individual files with 'put' is simple enough, but the example of dd'ing an image of a hard drive isn't. Still I'm not sure if this is useful enough to warrant including nc. I like Chris's suggestion of -u to mirror -o though...