2000-09-08-02:25:38 [EMAIL PROTECTED]:
> Can anyone explain why
>
> rsync -aux /usr/ remote_machine:/destination/usr
>
> works, but
>
> rsync -aux / remote_machine:/destination/rfs
>
> fails (looks like it's doing something, but just hangs
> indefinitely)?
Probably that's rsync wandering down into /dev or /proc, and seeing
some local wicked magic voodoo where a thing claiming to be a
regular file, rather than a device special is in fact, well, not:-).
It's real memory, or the fire alarm, or a cardpunch, or something.
> Or, how I SHOULD do this?
When you wanna mirror from / down, whether you're using rsync or any
other tool, on modern Unixes you generally need to either wield
"exclude" options like a scalpel, with excellent local knowlege, or
else you need to use multiple invocations, one per filesystem, with
options to prevent the archiver from crossing the mounted filesystem
boundary. Either option works, I personally prefer the latter, but
it's _really_ a matter of taste and nothing else.
-Bennett
PGP signature