Subject: Re: ps /proc changes (CVS commit: src)
To: Brian C. Grayson <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/29/1999 02:15:23
On Mar 29, 12:35am, firstname.lastname@example.org ("Brian C. Grayson") wrote:
-- Subject: Re: ps /proc changes (CVS commit: src)
| It is way too easy to mount things on top of /proc and thus
| fool or confuse programs. I think checking the FS of open /proc
| files is an important concept that should be put in the man
| pages for mount_procfs and mount_kernfs. Is there any kind of
| SECURITY section? I didn't see any in the mdoc.samples man page.
| where -D was a new option to mount that said "run fstatfs on
| the specified descriptor and print out the results"? Is there
| any better program than mount? It'd be a shame to add a new
| program just to run fstatfs, and either df or mount seem the best
| matches to me.
df seems more appropriate to me. But still, this is not that useful
because it is difficult to avoid races in shell scripts.