LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12: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, 12:56 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
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, 04: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 7 12-19-2015 01:03 AM
Hiding hidden files in the "save as" option window n926bb Linux - Desktop 3 07-12-2008 09:06 AM
Explanation of the "loop" option when mounting CD image files uncle-c Linux - Newbie 5 12-15-2007 11:16 AM
Is ".gz" archive file considered "World-Readable"? NightSky Linux - Newbie 4 12-06-2007 05:21 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:15 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
Open Source Consulting | Domain Registration