Messages in this thread | | | Subject | Re: [patch-2.3.46-p3] /proc/driver/microcode P6 ucode support | Date | Fri, 18 Feb 2000 11:40:06 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
| |