[Techtalk] /dev/shm

Angelina Carlton brat at magma.ca
Sat Jan 14 18:55:45 EST 2006


David Sumbler <david at aeolia.co.uk> writes:

> In my /etc/fstab file is a line which reads:
>
> none         /dev/shm tmpfs    defaults  0 0
>
> I assume that line was added by my Fedora Core 4 system (or its
> version 2 predecessor), because I'm sure I didn't!
>
> 'df' reports
>
> none         tmpfs    316M     0  316M   0% /dev/shm
>
> And 'ls -ld /dev/shm' gives
>
> drwxrwxrwt  2 root root 40 Jan  8 16:39 /dev/shm
>
> the time being when I last rebooted the computer, I think.  /dev/shm
> itself is empty, currently at any rate.
>
> What is this, what is it used for, and by what?
>
I think it came along with the 2,4 kernels, you can find some info here:
http://www-128.ibm.com/developerworks/library/l-fs3.html
http://lwn.net/2001/1206/a/tmpfs.php3




-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat at magma.ca
web:bzgirl.bakadigital.com
--------------------------


More information about the Techtalk mailing list