Posts Tagged ‘computer memory’

0:24
06-19-2008

How to Make Your Large Memory as A Hard Drive?

   Posted by: clarezoe    in Linux

I bought a new memory for my laptop, now I have 1.5G memory, but my xubuntu can’t eat that much, so I’m thinking about how to use it. I found a very easy way that can use the memory as a hard drive. I can save my hard drive space and can make full use of my memory as well, that’s cool.

I don’t have to worry about the temperary files take so much space and make my computer slower. It will be cleaned up every time I restart my computer.

The settings are quite simple:

Choose your favourite text editor and edit the fstab file. I’m using vim.

sudo vim /etc/fstab

Add the following line into it:

tmpfs /tmp tmpfs defaults,mode=1777 0 0

And save, then restart X window, we are done.

If you have questions, please don’t hasitate to contact me, either write your comments here or fill in the conatct form under “Contact Me”.

Tags: , ,

收藏 & 分享

Powered by 17fav.com