* [gentoo-user] More on /sys files
@ 2009-01-17 15:13 Harry Putnam
2009-01-17 15:21 ` Vladimir Rusinov
2009-01-17 21:10 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 4+ messages in thread
From: Harry Putnam @ 2009-01-17 15:13 UTC (permalink / raw
To: gentoo-user
I'm in the process of rsyncing an OS to a remote file system.
when rsyncing /sys to remote /sys... I get piles of errors of the
form:
WARNING: devices/LNXSYSTM:00/device:00/ACPI_CPU:00/power/wakeup failed
verification -- update discarded (will try again).
This is after a session failed so I'm re rsyncing directory by directory
to make sure all is copied over.
du -sh /sys on both remote and local shows:
0
But find shows something else:
find /sys -type f|wc (on remote host)
5850
find /sys -type f|wc -l (on local host)
6915
What do I need to do to get remote /sys to mirror local /sys
Will booting the remote... once the transfer is done cure the problem?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] More on /sys files
2009-01-17 15:13 [gentoo-user] More on /sys files Harry Putnam
@ 2009-01-17 15:21 ` Vladimir Rusinov
2009-01-17 15:44 ` [gentoo-user] " Harry Putnam
2009-01-17 21:10 ` [gentoo-user] " Neil Bothwick
1 sibling, 1 reply; 4+ messages in thread
From: Vladimir Rusinov @ 2009-01-17 15:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
On Sat, Jan 17, 2009 at 6:13 PM, Harry Putnam <reader@newsguy.com> wrote:
> What do I need to do to get remote /sys to mirror local /sys
> Will booting the remote... once the transfer is done cure the problem?
>
Why do you need to sync /sys? It's completely useless - kernel creates all
files in /sys automatically.
--
Vladimir Rusinov
http://greenmice.info/
[-- Attachment #2: Type: text/html, Size: 711 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: More on /sys files
2009-01-17 15:21 ` Vladimir Rusinov
@ 2009-01-17 15:44 ` Harry Putnam
0 siblings, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2009-01-17 15:44 UTC (permalink / raw
To: gentoo-user
Vladimir Rusinov <vladimir@greenmice.info> writes:
> On Sat, Jan 17, 2009 at 6:13 PM, Harry Putnam <reader@newsguy.com> wrote:
>
>> What do I need to do to get remote /sys to mirror local /sys
>> Will booting the remote... once the transfer is done cure the problem?
>>
>
> Why do you need to sync /sys? It's completely useless - kernel creates all
> files in /sys automatically.
Good... thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] More on /sys files
2009-01-17 15:13 [gentoo-user] More on /sys files Harry Putnam
2009-01-17 15:21 ` Vladimir Rusinov
@ 2009-01-17 21:10 ` Neil Bothwick
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2009-01-17 21:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]
On Sat, 17 Jan 2009 09:13:44 -0600, Harry Putnam wrote:
> I'm in the process of rsyncing an OS to a remote file system.
>
> when rsyncing /sys to remote /sys... I get piles of errors
/sys is a virtual filesystem, like /dev and /proc. Even if you do succeed
on copying the contents,you'll only waste space on the root partition of
the new machine and the virtual filesystems will get mounted over
them. On my desktop, one file in /proc is more that ten times the size of
the root filesystem!
Use the -x option with rsync to prevent copying these.
--
Neil Bothwick
Yes, I am an agent of Satan, but my duties are largely ceremonial.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-17 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-17 15:13 [gentoo-user] More on /sys files Harry Putnam
2009-01-17 15:21 ` Vladimir Rusinov
2009-01-17 15:44 ` [gentoo-user] " Harry Putnam
2009-01-17 21:10 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox