Re: The space available of /dev/shm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On Thursday 10 July 2003 05:16, Dario Lesca wrote:
> Hi, the size of /dev/shm is dynamic or static?
>

<snip>

> If I use it for my tmp files, I must worry about the space available
> or not? for what it comes used of usual?
>

<teach a man to fish>
A great place to find things like this is the kernel documentation. Look in 
/usr/src/linux-2.4/Documentation.

I did these two things to pull up some potential candidates:
$ cd /usr/src/linux-2.4/Documentations
$ grep -r '/dev/shm' .

That will get you started.

<give a man a fish>
The answer to your question is in:

$ /usr/src/linux-2.4/Documentation/filesystems/tmpfs.txt

And finally, my comment.

You aren't making much sense right now. Why are you writing to /dev/shm 
directly? I would be doubly sure you know what the files in /dev and /proc 
are before you go tinkering with them. You can destroy your system quite 
easily.

I think you have /dev/ramdisk and /dev/shm confused. The former is where you 
store tmp files. The latter is used by glibc for shared memory.

- -- 
Jonathan Gardner <jgardner@xxxxxxxxxxxxxxxxxxx>
(was jgardn@xxxxxxxxxxxxxxxxxxxxx)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/DtbdWgwF3QvpWNwRAloBAJ4+bzvADZbg96dXZST0zcRyKnOGwgCZAQ37
uuHckmHndy7Oz4KcBnmx7RY=
=pqjl
-----END PGP SIGNATURE-----




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux