Re: procfs maintainance (was Re: multimounting cdroms ???)

From: H. Peter Anvin (hpa@transmeta.com)
Date: Fri Jul 28 2000 - 20:38:25 EST


Alexander Viro wrote:
>
> On Fri, 28 Jul 2000, H. Peter Anvin wrote:
>
> > This is pretty much the idea behind /proc/sys and the sysctl structure
> > -- one data item per file entry. It is easy to browse automatically,
> > allows simple tools (e.g. shell scripts) to access it, can be trivially
>
> $IFS. while. read. All there in shell. And sed(1) also counts as a simple
> tool, IMO.
>

You end up with reading data over and over and over. I don't think this
is a win.

> > turned into SNMP MIBs, isn't subject to stomping all over kernel memory
>
> You want the namespace to be SNMP-controlled???
>

I want the namespace to have a trivial mapping to an SNMP MIB, yes.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:29 EST