[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Tar'ing /proc ???
On Thu, 16 Jan 2003, Linux Geek wrote:

> Richard B. Johnson wrote:
> >Normally, you do `tar -clf`
> > |________ stay on the same file-system.
> >Otherwise toy need to use --exclude /proc. Proc is a virtual
> >file-system that contains things like kcore. You can get into
> >a deadlock when reading kcore and you don't want this in your
> >backup anyway.
> >
> >
> >
> >
> so it means, I can read /proc , write through sysctl interface but no
> 'copy' business ;-) .

Well you can use `cp` or `cat` because they don't use large amounts
of data that gets extended by calling the kernel to set the break
address (which can cause a deadlock). `tar` keeps allocating more
memory when it reads this large 'file'.

Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.063 / U:13.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site