Using RAMdisk for /var/lock and /var/run

Using RAMdisk for /var/lock and /var/run

Post by Mats Liljegr » Fri, 06 Sep 1996 04:00:00

Is it possible to configure a RAMdisk to hold /var/lock and /var/run? As
I see it, these two and the swap partition are the only directories that
really must reside on the local computer. These two directories don't
contain much data, so having it in a RAMdisk should be no problem. If it
got swapped when those files wasn't used, all the better...

Is there something dangerous about doing this?



1. sh var -> awk var -> sh var

I want to do something like the following:
echo "-----------end----------------"
line_num=`expr $line_num + 1`
awk '{  
       for( ; n%=xx ; n++ )  <---xx means a number.
     }' n=$page_line          <---this need input, else it stop....
line_num=$n    <-----I want $line_num = n in awk.
I need certain length of the outfiles, so if "----end----" end at line number
which is not enough, space lines are added to enough length number.

    Simon Tneoh Chee Boon  ~{UEV>ND~}  i?

    Hsin Chu City       NATIONAL TSING HUA UNI.
    P.O.Box 2-037       Material Science Engineering Dept. Batch '96


2. Looking for an old wallpaper

3. Using var in var′s

4. Whoever can get 24bit video working on this computer gets $100

5. using ramdisk for /tmp and /var

6. SLIP/PPP vs Kermit (and questions)?

7. More mail file locking questions (lockf, NFS, /var/spool/mail/*.lock)

8. Microsoft and Xenix.

9. How large can /var/log/messages and /var/log/syslog get ?

10. trimming /var/adm/messages & /var/adm/syslog

11. How to close /var/log/syslog and /var/log/messages..

12. Need help not passing make vars as env vars in gmake.

13. cd $var where var is a windows path with spaces in it