Messages in this thread | | | From | (H. Peter Anvin) | Subject | Location of shmfs; devfs automagics | Date | 28 Mar 2000 03:23:51 -0800 |
| |
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/
| |