LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-29-2010, 01:43 PM   #1
andrewtblake
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
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.
 
Old 04-29-2010, 01:56 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
On regular linux I don't have "skipping non-regular file" with -a option.
You use only the -a option? Try set --links option.
 
Old 04-29-2010, 05:15 PM   #3
andrewtblake
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 11:35 AM
Hiding hidden files in the "save as" option window n926bb Linux - Desktop 3 07-12-2008 10:06 AM
Explanation of the "loop" option when mounting CD image files uncle-c Linux - Newbie 5 12-15-2007 12:16 PM
Is ".gz" archive file considered "World-Readable"? NightSky Linux - Newbie 4 12-06-2007 06:21 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 10:47 AM


All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration