Re: [PATCH] 2.5.46: duplicate statistics being gathered

Greg KH (greg@kroah.com)
Thu, 7 Nov 2002 23:19:02 -0800


On Thu, Nov 07, 2002 at 09:27:08PM -0800, Andrew Morton wrote:
>
> The <unknown quantity of> applications out there which are reading
> the disk info from /proc/stat need to be taught to go fishing in
> /name-of-the-day-fs.
>
> And that's hard. /driverfs? /sys? /sysfs? /kernfs? AFAIK we don't
> even have a recommended mountpoint for the thing, do we? One way
> to resolve that is for the monitoring application to locate the
> mountpoint by consulting /proc/mounts on startup.

It's now called sysfs and should be mounted at /sys. I do not think the
name will change anymore (famous last words...)

Unless you want to be different and mount it somewhere else :)

And yes, any application relying on data within it, should be able to
determine its location (through /proc/mounts, or some other such
format.)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/