[:en]How to Make Your Large Memory as A Hard Drive?[:en]怎么把你的大内存做硬盘用?



用文本编辑器打开 fstab 文件,我用的 vim,

sudo vim /etc/fstab


tmpfs /tmp tmpfs defaults,mode=1777 0 0



[:en]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”.

Post a Comment

Your E-mail will never published nor shared. Notice that the required fields are marked *...



Type your comment out: