Is /dev/shm needed?
Hello Adam :))
Quoted 5 lines
Quoted 2 lines
have lots of memory to spare, give it a try. Mount /tmp or all of /var in tmpfs.
Unfortunately, some(many?) distros are b0rken in re
/var/. There is stuff put there that is needed across boots (for example, mandrake puts the DNS master files in/var/named.)
Moreover, didn't the LHS say that /var/tmp is supposed to be
maintained across reboots? I'm not sure about this, but anyway /var is supposed to hold temporary data, not boot-throwable data, isn't it?
Ra�l
Quoted 8 lines · Raúl Núñez de Arenas Coronado
Hello Adam :))
Quoted 6 lines
Quoted 2 lines
have lots of memory to spare, give it a try. Mount /tmp or all of /var in tmpfs.
Unfortunately, some(many?) distros are b0rken in re
/var/. There is stuff put there that is needed across boots (for example, mandrake puts the DNS master files in/var/named.)
Thank you for this correction of my understanding of /var
I now am under the impression that it merely means that /var must be mounted rw. It is for variables, but not discardable data.
This still means that the concept of a tmpfs /var is _severely_ broken. DON'T DO IT.
I may be wrong about /tmp as well, but I have come to think that it is data that ought be discarded after logout, and have sometimes considered writing a script for it in the login/logout scripts.
Quoted 7 lines
Moreover, didn't the LHS say that
/var/tmpis supposed to be
maintained across reboots? I'm not sure about this, but anyway /var is supposed to hold temporary data, not boot-throwable data, isn't it?Raúl
Signature · 5 lines
tabris
Once I swore I would die for you, but I never meant like this.
Shame, by Stabbing WestwardQuoted 3 lines · Adam Schrotenboer
I may be wrong about /tmp as well, but I have come to think that it is data that ought be discarded after logout, and have sometimes considered writing a script for it in the login/logout scripts.
System daemons can legally use /tmp, and they may not apprechiate having their files removed from underneath them everytime someone telnets in. ;)
-Ryan
Quoted 7 lines · Ryan Cumming
Quoted 3 lines · Adam Schrotenboer
I may be wrong about /tmp as well, but I have come to think that it is data that ought be discarded after logout, and have sometimes considered writing a script for it in the login/logout scripts.
System daemons can legally use /tmp, and they may not apprechiate having their files removed from underneath them everytime someone telnets in. ;)
Definite pt. So maybe make mortal users use $HOME/tmp. and that could be mounted at login and umounted at logout. Or, rm only the files that the user owns.
Quoted 2 lines
-Ryan
Signature · 7 lines
tabris
"I wanted to see exotic Vietnam, the jewel of Southeast Asia. I wanted
to meet interesting and stimulating people of an ancient culture...
and kill them."
Joker, "Full Metal Jacket"Followup to: <E16Fl8j-0000nA-00@phalynx> By author: Ryan Cumming <[email protected]> In newsgroup: linux.dev.kernel
Quoted 9 lines · Adam Schrotenboer
Quoted 3 lines
I may be wrong about /tmp as well, but I have come to think that it is data that ought be discarded after logout, and have sometimes considered writing a script for it in the login/logout scripts.
System daemons can legally use /tmp, and they may not apprechiate having their files removed from underneath them everytime someone telnets in. ;)
Not to mention when you kill a secondary session. It's bogus. However, discarding /tmp on *REBOOT* is legitimate.
-hpa
Signature · 3 lines
<[email protected]> at work, <[email protected]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <[email protected]>
Quoted 4 lines · RaúlNúñez de Arenas Coronado
Hello Adam :))
Quoted 2 lines
Quoted 2 lines
have lots of memory to spare, give it a try. Mount /tmp or all of /var in tmpfs.
Quoted 8 lines
Quoted 3 lines
Unfortunately, some(many?) distros are b0rken in re
/var/. There is stuff put there that is needed across boots (for example, mandrake puts the DNS master files in/var/named.)Moreover, didn't the LHS say that
/var/tmpis supposed to be
maintained across reboots? I'm not sure about this, but anyway /var is supposed to hold temporary data, not boot-throwable data, isn't it?
yes, just think to sysstem logs...
Quoted 8 lines
Raúl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/