LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   rsync "skipping non-regular files" with --archive option (https://www.linuxquestions.org/questions/linux-server-73/rsync-skipping-non-regular-files-with-archive-option-805011/)

andrewtblake 04-29-2010 12:43 PM

rsync "skipping non-regular files" with --archive option
 
Hi

According to the man page, rsync should copy "special" and "device" files if the corresponding options are set. Also the man page says that the -a option (--archive) includes the -D option, which is "same as --devices and --specials".

BUT

We use the -a option, and still get the following in our report:

skipping non-regular file "pristine/dev/full"
skipping non-regular file "pristine/dev/null"
skipping non-regular file "pristine/dev/ptmx"
skipping non-regular file "pristine/dev/random"
skipping non-regular file "pristine/dev/tty"
skipping non-regular file "pristine/dev/urandom"
skipping non-regular file "pristine/dev/zero"

Is this the expected behavior?

(BTW this is copying a non-running linux-vserver called 'pristine')

Thanks for any enlightenment.

troop 04-29-2010 12:56 PM

On regular linux I don't have "skipping non-regular file" with -a option.
You use only the -a option? Try set --links option.

andrewtblake 04-29-2010 04:15 PM

rsync options are "-vaH --delete"

linux version is debian lenny being run on the vserver host machine

the files in question are in /var/lib/vservers/[vserver]/dev/

thanks for the information.

I wonder if the problem has to do with the linux-image-vserver-686 kernel.


All times are GMT -5. The time now is 12:03 AM.