I know this flares up about once every few months or so,
but I have finally started looking at this again. 

>From an older post:

>So just add an option --copy-devices and change the code to treat 
>devices as regular files when that option is set. Probably the easiest 
>way to do this is a global change of S_ISREG() to IS_REGULAR_FILE() 
>and make IS_REGULAR_FILE() allow device files as regular files if 
>--copy-devices has been set. (there are one or two places where 
>S_ISREG() should still be used after this change, look at each case 
>carefully) 

I have looked at this for some time and cannot establish which
statements
of S_ISREG need to be preserved. The files involved are:

hlink.c
generator.c
flist.c
receiver.c
rsync.h

I've come close, but am still not successful.

Any ideas? I've managed to compile it to take --raw-devices as an option
and to actually send a raw file, but it sends a zero length file.

Any hints would be appreciated.

-b

Reply via email to