You are not logged in.

#1 2010-09-02 06:35:30

fxjhot123
Member
Registered: 2010-09-02
Posts: 2

HOW to creat a ramdisk

I am new. I want to use ramdisk.
but archlinux doesn't have /dev/ram,
so how can i creat it and mount it
thanks a lot !
i see the page https://bbs.archlinux.org/viewtopic.php?id=50893
but i don't understand well. please tell the details.

Offline

#2 2010-09-02 07:08:24

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Offline

#3 2010-09-03 06:07:36

fxjhot123
Member
Registered: 2010-09-02
Posts: 2

Re: HOW to creat a ramdisk

Offline

#4 2010-09-03 08:15:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: HOW to creat a ramdisk

Arch comes with one enabled by default.  It uses UP TO 1/2 the physical memory by default but you can tweak it however you wish.  My system has 8 GB of memory and I have a max size of 6 GB on the /dev/shm by virtue of my /etc/fstab entry

shm                    /dev/shm      tmpfs     nodev,nosuid,size=6G        0      0

See the following for more: http://wiki.archlinux.org/index.php//dev/shm

Last edited by graysky (2010-09-03 08:24:13)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB