[WBEL-users] OT: Fwd: Re: Booting linux host, getting error message (SOLVED)

James Knowles jamesk@ifm-services.com
Thu, 12 Aug 2004 21:19:44 -0600


OK... I'm easily impressed. But I thought this was a cool trick that I'd 
share. I didn't know about tmpfs. I always wondered what that /dev/shm 
was on my WBEL boxen, but never bothered to ask.

 - - - - - - -

> When I boot my Linux host (WBEL 3, a RHEL 3 clone), I get a slew of 
> messages of the form:
>
> run: cannot remove /var/run/vmware/<username>/<integer>: Is a directory


I came up with a solution. I'm mounting /var/run as tmpfs, so it's 
automatically cleared upon shutdown (including reboot).

I added the following to /etc/fstab:

none       /var/run        tmpfs   defaults    1 2

There's an article on this nifty trick:

http://www-106.ibm.com/developerworks/library/l-fs3.html