using rsync on raw device

George Georgalis george at
Sun Mar 30 19:00:33 GMT 2008

Hi -- congratulations on the 3.0 release!

I'm trying to use rsync to manage a raw disk image file.

rsync --checksum --perms --owner --group --sparse --partial --progress \ /u0510a/rwd0d.img
skipping non-regular file "rwd0d"

sent 20 bytes  received 69 bytes  178.00 bytes/sec
total size is 0  speedup is 0.00

rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              inplace, IPv6, 64-bit system inums, 64-bit internal inums

The idea being I could use the rsync algorithm to
update /u0510a/rwd0d.img which I could deploy with the
dd comand to /dev/rwd0d on the target host. (a UFS
filesystem btw)

But it's obviously not happy treating a device as a
file.  Is there some way around this, I don't see an
appropriate option in the man page.

// George

George Georgalis, information system scientist <IXOYE><

More information about the rsync mailing list