Re: unmountin /proc

Dan Merillat (Dan@merillat.org)
Thu, 31 Oct 1996 16:07:22 -0500 (EST)


On Sat, 26 Oct 1996, Charles Diffey wrote:

> Date: Sat, 26 Oct 1996 13:05:43 -0400
> From: Charles Diffey <cdiffey@sun1.uconect.net>
> To: linux-kernel@vger.rutgers.edu
> Subject: unmountin /proc
>
> Howdy,
> Well I've put on my asbestos shorts so here goes,
>
> I do not know why anyone would want to unmount /proc.
>
> If memory serves me right from the good ole' days of OS classes:
>
> /proc is a special filesystems that really is not a filesystem. /proc is the
> memory image at any given moment. /proc is set up to LOOK like a real
> filesystem so that useful utilities such as ps and other processes that
> need current system information can do so in the usual *nix manner:
> everything looks like a file to *nix.

Not quite, but very close. You are right about it looking like files, but
it is a REAL filesystem.

> Now if one were to unmount the current process running in core it will of
> course tell you taht it is busy as it attempts to commit suicide and grant
> your wish of unmounting all currently running process.

Nope. /proc is a WINDOW into the kernel... so by unmounting it you close the
window... it is very valid to unmount /proc.