[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /dev/kmem



>I think of porting a BSD-like "ps" and "top" to Mint.
>I know "ps" and "top" already exist for Mint, but they don't support the usual
>options.
>
>Since "ps" normally consults /dev/kmem, I can do two things:
>
>- Change "ps" to consult /proc
>- Implement /dev/kmem
>
>The last one seems the most desireable solution to me, since Mint would become
>more BSD-ish in that way.
>
>Now my question is this: Why was /proc implemented into Mint?
>Has /proc advantages over /dev/kmem?
>Was /proc ment to be replaced by a /dev/kmem implementation at the end?
>
>If /dev/kmem is better than /proc, I will give it a try,

The problem with the current MiNT /proc is that it's neither fish nor foul
and is pretty well useless. I must say that it like the way that the /proc
filesystem under Linux 68k works, each process is a subdirectory of /proc
containing files such as "cmdline", "environment" etc. Very nice.

>Richard.

Steve

-- 
---------------------------------------------------------------------------
Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).