Location of shmfs; devfs automagics

From: H. Peter Anvin (hpa@transmeta.com)
Date: Tue Mar 28 2000 - 06:23:51 EST


Two alerts regarding filesystem hierarchy:

The location that has been suggested, /var/shm, is a very bad choice.
/var is a potentially-large filesystem which isn't necessarily
available during the early boot sequence, may be remote, etc.
Furthermore, /var is used for on-disk data.

The proper location for entities like this is /dev. The only sensible
location for this is /dev/shm.

The second is that devfs seems to think it is above the normal way of
doing things (unlike ALL OTHER filesystems, including procfs and
shmfs) and not only will mount itself on /dev automatically, but will
do so *by default*. This is incredibly antisocial behaviour, and has
no justification. If there are conditions under which you would need
devfs before you have mount(8) available -- which I do not believe is
ever the case -- it may be justifiable to have it as an option, but
making it default behaviour is pretty much unacceptable. Use
/etc/fstab like everything else, please.

         -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- 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 : Fri Mar 31 2000 - 21:00:21 EST