* oddness
@ 1999-09-22 22:50 Rory Hunter
1999-09-22 23:11 ` oddness Alistair Lambie
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Rory Hunter @ 1999-09-22 22:50 UTC (permalink / raw)
To: linux@cthulhu.engr.sgi.com
hi,
I noticed yesteday that it appears that a partition has been set aside
by the previous owners of my O2 for /proc... assuming that 'df' isn't
lying to me, can anyone think of a reason why an 800Mb partition would
be set aside for /proc?
Cheers,
Rory Hunter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
1999-09-22 22:50 oddness Rory Hunter
@ 1999-09-22 23:11 ` Alistair Lambie
1999-09-23 7:16 ` oddness Rory Hunter
1999-09-22 23:16 ` oddness William J. Earl
1999-09-23 3:50 ` oddness Eric Kimminau
2 siblings, 1 reply; 8+ messages in thread
From: Alistair Lambie @ 1999-09-22 23:11 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
Rory Hunter wrote:
>
> hi,
>
> I noticed yesteday that it appears that a partition has been set aside
> by the previous owners of my O2 for /proc... assuming that 'df' isn't
> lying to me, can anyone think of a reason why an 800Mb partition would
> be set aside for /proc?
>
No, this is not really a partition. See the man page for proc(4). It
provides an image of each active process on the system. It does not
consume any disk resources.
Cheers, Alistair
--
Alistair Lambie alambie@csd.sgi.com
SGI Global Product Support SGI Voicemail/VNET: 234-1455
Level 5, Cigna House, M/S: INZ-3780
PO Box 24 093, Ph: +64-4-494 6325
40 Mercer St, Wellington, Fax: +64-4-494 6321
New Zealand Mobile: +64-21-635 262
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
1999-09-22 22:50 oddness Rory Hunter
1999-09-22 23:11 ` oddness Alistair Lambie
@ 1999-09-22 23:16 ` William J. Earl
1999-09-23 3:50 ` oddness Eric Kimminau
2 siblings, 0 replies; 8+ messages in thread
From: William J. Earl @ 1999-09-22 23:16 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
Rory Hunter writes:
> hi,
>
> I noticed yesteday that it appears that a partition has been set aside
> by the previous owners of my O2 for /proc... assuming that 'df' isn't
> lying to me, can anyone think of a reason why an 800Mb partition would
> be set aside for /proc?
As on Linux, /proc is not a real file system. On IRIX, the size
of /proc is roughly the maximum amount of virtual space available (including
swap space), and the space used is the amount of virtual space in use.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
1999-09-22 22:50 oddness Rory Hunter
1999-09-22 23:11 ` oddness Alistair Lambie
1999-09-22 23:16 ` oddness William J. Earl
@ 1999-09-23 3:50 ` Eric Kimminau
2 siblings, 0 replies; 8+ messages in thread
From: Eric Kimminau @ 1999-09-23 3:50 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
Rory Hunter wrote:
>
> hi,
>
> I noticed yesteday that it appears that a partition has been set aside
> by the previous owners of my O2 for /proc... assuming that 'df' isn't
> lying to me, can anyone think of a reason why an 800Mb partition would
> be set aside for /proc?
>
> Cheers,
>
> Rory Hunter
proc is your process table - it isn't taking file system space.
pretent it doesnt exist. Ignore it. Its "kernel stuff"
--
.--------1---------2---------3---------4---------5---------6---------7.
Eric Kimminau eak@sgi.com Electronic Support Tools
Vox:248-848-4455 Fax:248-848-5600 VNET:6-327-4455
"I speak my mind and no one else's."
"I am a bomb technician. If you see me running, try to keep up..."
http://support.sgi.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
1999-09-22 23:11 ` oddness Alistair Lambie
@ 1999-09-23 7:16 ` Rory Hunter
1999-09-23 7:29 ` oddness Steven G. Parker
1999-09-23 12:19 ` oddness Matt Robinson
0 siblings, 2 replies; 8+ messages in thread
From: Rory Hunter @ 1999-09-23 7:16 UTC (permalink / raw)
Cc: linux@cthulhu.engr.sgi.com
Hi,
I know the proc is virtual, but it puzzled me that 'df' should list it
when linux doesn't... if I can confirm that the partition itself is
virtual then I'll happliy ignore it.
Cheers,
Rory Hunter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
@ 1999-09-23 7:29 ` Steven G. Parker
0 siblings, 0 replies; 8+ messages in thread
From: Steven G. Parker @ 1999-09-23 7:29 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
>From the df man page:
The proc filesystem (normally mounted under /proc) is not printed by
default, but can be explicitly specified. This filesystem consumes no
actual disk space, but is an interface to the virtual space of running
processes. The total and free blocks reported represent the total
virtual memory (real memory plus swap space) present and the amount
currently free, respectively.
You will see /proc if you use GNU df. Otherwise, you have to explicitly
ask for it (df /prof).
If you use IRIX df /proc, you will see that the Type is proc - a
virtual filesystem.
If you want to independently verify it - use prtvtoc to look at
how your disk is partitioned. You will probably not see a /proc
paritition.
Steve Parker
On Sep 23, 8:16am, Rory Hunter wrote:
> Subject: Re: oddness
> Hi,
>
> I know the proc is virtual, but it puzzled me that 'df' should list it
> when linux doesn't... if I can confirm that the partition itself is
> virtual then I'll happliy ignore it.
>
> Cheers,
>
> Rory Hunter
>-- End of excerpt from Rory Hunter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
@ 1999-09-23 7:29 ` Steven G. Parker
0 siblings, 0 replies; 8+ messages in thread
From: Steven G. Parker @ 1999-09-23 7:29 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
From the df man page:
The proc filesystem (normally mounted under /proc) is not printed by
default, but can be explicitly specified. This filesystem consumes no
actual disk space, but is an interface to the virtual space of running
processes. The total and free blocks reported represent the total
virtual memory (real memory plus swap space) present and the amount
currently free, respectively.
You will see /proc if you use GNU df. Otherwise, you have to explicitly
ask for it (df /prof).
If you use IRIX df /proc, you will see that the Type is proc - a
virtual filesystem.
If you want to independently verify it - use prtvtoc to look at
how your disk is partitioned. You will probably not see a /proc
paritition.
Steve Parker
On Sep 23, 8:16am, Rory Hunter wrote:
> Subject: Re: oddness
> Hi,
>
> I know the proc is virtual, but it puzzled me that 'df' should list it
> when linux doesn't... if I can confirm that the partition itself is
> virtual then I'll happliy ignore it.
>
> Cheers,
>
> Rory Hunter
>-- End of excerpt from Rory Hunter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: oddness
1999-09-23 7:16 ` oddness Rory Hunter
1999-09-23 7:29 ` oddness Steven G. Parker
@ 1999-09-23 12:19 ` Matt Robinson
1 sibling, 0 replies; 8+ messages in thread
From: Matt Robinson @ 1999-09-23 12:19 UTC (permalink / raw)
To: Rory Hunter; +Cc: linux@cthulhu.engr.sgi.com
On Thu, 23 Sep 1999, Rory Hunter wrote:
|>Hi,
|>
|>I know the proc is virtual, but it puzzled me that 'df' should list it
|>when linux doesn't... if I can confirm that the partition itself is
|>virtual then I'll happliy ignore it.
If you check out the manual pages for proc(4) under IRIX and proc(5)
under Linux (RedHat 6.0), you'll note that the filesystems are two
different things. They are not the same.
/proc under IRIX reports process information. /proc under Linux is
for displaying (and modifying) kernel tunables.
The proc(4) manual page under IRIX specifically states:
The statfs(2) system call will return valid information concerning the
proc filesystem. The total and free blocks as reported by df(1)
respectively represent the total virtual memory (real memory plus swap
space) available and currently free.
Since the two filesystems perform different functions, 'df' should not
be expected to perform the same function.
Hope this helps.
--Matt
|>Cheers,
|>
|>Rory Hunter
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-09-23 12:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-22 22:50 oddness Rory Hunter
1999-09-22 23:11 ` oddness Alistair Lambie
1999-09-23 7:16 ` oddness Rory Hunter
1999-09-23 7:29 ` oddness Steven G. Parker
1999-09-23 7:29 ` oddness Steven G. Parker
1999-09-23 12:19 ` oddness Matt Robinson
1999-09-22 23:16 ` oddness William J. Earl
1999-09-23 3:50 ` oddness Eric Kimminau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.