[H-GEN] tmpfs on /dev/shm

Stuart Longland stuartl at longlandclan.hopto.org
Sat Jul 24 09:05:15 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Mills wrote:

| Anyone know what the file system mounted on /dev/shm is used for in
| Debian ?

Gentoo seems to provide a hint in the default /etc/fstab file thats
shipped with the stage tarballs:

| # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
| # POSIX shared memory (shm_open, shm_unlink).
| # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
| #  use almost no memory if not populated with files)
| # Adding the following line to /etc/fstab should take care of this:
|
| none                    /dev/shm        tmpfs           defaults
           0 0
- --
+-------------------------------------------------------------+
| Stuart Longland           stuartl at longlandclan.hopto.org |
| Brisbane Mesh Node: 719             http://stuartl.cjb.net/ |
| I haven't lost my mind - it's backed up on a tape somewhere |
| Atomic Linux Project    <--->    http://atomicl.berlios.de/ |
+-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBAl6LuarJ1mMmSrkRAtBpAJ9WxY2shnCmLlIGM9O8dBrlT/AMbwCgkHQF
JIaWSUUiH4rrnLG4VMcgS4s=
=39ed
-----END PGP SIGNATURE-----




More information about the General mailing list