Re: [patch-2.3.46-p3] /proc/driver/microcode P6 ucode support

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Feb 18 2000 - 06:40:06 EST


> 1) Find what kernel is running (i.e. /proc/sys/kernel/osrelease)
uname()

> 4) Find what filesystems the kernel supports (i.e. /proc/filesystems)

Try them and see

> 5) Find what devices are mounted on what filesystem (i.e. /proc/mounts)
> (right now there _is_ no way to find what /dev/root is short of doing
> a stat on "/" and then stating everything in /dev for a matching dev_t,
> or using devfs, or doing what libc does -- believng whatever crap is
> in fstab)

Thats fine - it works. Its reliable

> If I could do these things without /proc, I would be glad to adjust
> the user space of my embedded stuff accordingly and save the 90k,

Most of these arent needed on an embedded box.

-
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 : Wed Feb 23 2000 - 21:00:21 EST