Re: [RFC] Standard Sytem Config Filesystem (has /proc and devfs implications)

From: Aaron Denney (wnoise@ugcs.caltech.edu)
Date: Wed May 10 2000 - 15:16:39 EST


On 10 May 2000 18:09:50 -0000, Kristian Koehntopp <kris@koehntopp.de> wrote:
> Speaking of Sun and devfs-type stuff:
>
> admin@caddy:/usr/admin# uname -a
> SunOS caddy 5.8 s28_38 sun4m sparc SUNW,SPARCstation-5
> admin@caddy:/usr/admin# df
> Filesystem kbytes used avail capacity Mounted on
> ...
> mnttab 0 0 0 0% /etc/mnttab
> ...

Yes, /etc/mnttab is now a filesystem, which means the contents are
entirely kernel controlled. They did this so that a broken userland
mount wouldn't affect anyone's idea of what was mounted. Arguably,
this shouldn't be necessary, and userland should be fixed, but equally
arguably, the list of what is mounted is *kernel* information, and
shouldn't need to be maintained by userland.

ln -s /proc/mounts /etc/mtab *almost* works for linux

-- 
Aaron Denney
-><-

- 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 May 15 2000 - 21:00:16 EST