/tmp as ramdisk?
Gerardo
luisgmarengo at aim.com
Tue Jun 8 04:22:55 UTC 2010
Michael Renner wrote:
> Moin,
>
> with kernel 2.6.24 (kubuntu 8.04) I had some directories as ramdisk to save my
> (early) ssd. From the fromer /etc/fstab:
>
> none /tmp/ tmpfs defaults,size=180M
> none /var/log/ tmpfs defaults,size=20M
> none /var/run/ tmpfs defaults,size=1M
> none /var/lock/ tmpfs defaults,size=1M
>
> This does not work any longer with 2.6.32 (10.04). I managed it to mount the
> /var/* directories, but not /tmp.
> tmpfs /var/log/ tmpfs defaults,size=20M 0 0
> tmpfs /var/run/ tmpfs defaults,size=1M 0 0
> tmpfs /var/lock/ tmpfs defaults,size=1M 0 0
> #tmpfs /tmp/ tmpfs defaults,size=180M 0 0
>
> Somewhere in the mount-all routine the process fails to mount /tmp. But if I
> log in I can mount /tmp and continue to boot.
>
> Any hint?
> Thanks
This is my line from /etc/fstab
none /tmp tmpfs defaults 0 0
... and it works fine under 10.04.
More information about the kubuntu-users
mailing list