[Cooker] /tmp mounted as tmpfs
On oone system /tmp is mounted as tmpfs. I do not remember I did it; I did play with msec. Is it done by msec or new install defaults to tmpfs? TIA -andrej
Re: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: On oone system /tmp is mounted as tmpfs. I do not remember I did it; I did play with msec. Is it done by msec or new install defaults to tmpfs? AFAIR if you choose clean /tmp, you have tmpfs
Re: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: [...] When it has changed? from DrakX ChangeLog: 2001/12/17 Pixel [EMAIL PROTECTED] * fs.pm, any.pm, install2.pm, bootloader.pm: clean_tmp now means using tmpfs /etc/rc.d/init.d/mandrake_everytime: #Clean up Tmp. if [ -n $CLEAN_TMP ] [ $CLEAN_TMP -ge 1 ];then [...] looks sort of redundant in this case ... not really, it's needed for backward compatibility, and it's different (esp. it works with 2.2)
RE: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: On oone system /tmp is mounted as tmpfs. I do not remember I did it; I did play with msec. Is it done by msec or new install defaults to tmpfs? AFAIR if you choose clean /tmp, you have tmpfs When it has changed? /etc/rc.d/init.d/mandrake_everytime: #Clean up Tmp. if [ -n $CLEAN_TMP ] [ $CLEAN_TMP -ge 1 ];then ( TEXPR=! -ctime -$CLEAN_TMP echo -n Clean-up /tmp directory: cd /tmp \ find . -xdev \ $TEXPR \ ! -name . \ ! \( -name lost+found -uid 0 \) \ ! \( -name quota.user -uid 0 \) \ ! \( -name quota.group -uid 0 \) \ ... bla bla bla ... looks sort of redundant in this case ... -andrej
RE: [Cooker] /tmp mounted as tmpfs
When it has changed? from DrakX ChangeLog: 2001/12/17 Pixel [EMAIL PROTECTED] * fs.pm, any.pm, install2.pm, bootloader.pm: clean_tmp now means using tmpfs Ah! /etc/rc.d/init.d/mandrake_everytime: #Clean up Tmp. if [ -n $CLEAN_TMP ] [ $CLEAN_TMP -ge 1 ];then [...] looks sort of redundant in this case ... not really, it's needed for backward compatibility, and it's different (esp. it works with 2.2) You mean if I ever boot with 2.2 and tmpfs I get an error and no tmp?
Re: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: You mean if I ever boot with 2.2 and tmpfs I get an error and no tmp? yes
RE: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: You mean if I ever boot with 2.2 and tmpfs I get an error and no tmp? yes Bad. One way is to ln -s ../var/tmp tmp mount -t tmpfs /var/tmp This way we at least have tmp on /var not on root. -andrej
Re: [Cooker] /tmp mounted as tmpfs
Borsenkow Andrej [EMAIL PROTECTED] writes: ln -s ../var/tmp tmp mount -t tmpfs /var/tmp This way we at least have tmp on /var not on root. Well we should not spending too much time on 2.2.x stuff.. -- http://www.chmouel.org/