[WBEL-users] Changing ram disk size

Denis Croombs denis@just-servers.co.uk
Tue, 7 Sep 2004 21:17:02 +0100


Hi James

Thanks for that, I found out about tmpfs a couple of hours ago and I am now
doing it and it works perfectly for me.

Again many thanks

Denis

> >I am trying to increase the ram disk size to 512mb
> >
> >
>
> Yikes! Is there some specific reason you're doing this? Can you use
> tmpfs, which only uses the RAM needed, and immediately frees it when not
> needed?
>
> For example, to remove minor irritation with VMWare and /var/run, I have
> the following in /etc/fstab:
>
> none                    /var/run                tmpfs   defaults        1
2
>
> Which you can see here:
>
> $  df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0               91G   84G  2.8G  97% /
> /dev/hda1             251M   23M  216M  10% /boot
> none                  504M   56K  504M   1% /var/run
> none                  504M     0  504M   0% /dev/shm
>
> Hmmmm.... time to offload some stuff out of my ~ dir.
>
> Anyhow, you can play with this via:
>
> $ mount tmpfs <dir> -t tmpfs
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> Marvin the E-Mail scanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Marvin the E-Mail scanner