On Wed, Nov 06, 2002 at 09:59:56PM -0600, steve rader wrote:
>  > From: "David A. Bandel"
>  > you'll want to avoid copying /proc and probably even /tmp.  Look around
>  > because there might be others you won't want to copy.  Just be sure to
>  > exclude them.
> 
> Why??  My install script does clean out /tmp and
> /var/tmp and truncates logs.  But isn't /proc all
> ephemeral (built at boot and beyond?)

Yes, /proc is "all ephemeral", but you don't want to copy /proc/kcore,
for example. Moreover, because /proc contains entries for each process,
you get errors when a process goes away while it is being read. Finally,
precisely *because* /proc is rebuilt at boot and modified at runtime,
you don't *need* to copy its contents. Just make sure it exists on
the destination.

Kurt
-- 
Slang is language that takes off its coat, spits on its hands, and goes
to work.
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to