Creating a ramdisk on the i.MX28 EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Creating a ramdisk on the i.MX28 EVK

1,529件の閲覧回数
paulbannister
Contributor I

I'm trying to set up a ramdisk on the i.MX28 EVK

I have found a web post that suggests the following

mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk

mount -t tmpfs -o size=32M tmpfs /tmp/ramdisk/

Both commands appear to complete successfully (No warning/error messages), but when I

ls /mnt

I do not see the ramdisk mounted

I am new to Linux, so I apologise if this is a trivial misunderstanding, but I would appreciate any help offered.

Many thanks!

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,245件の閲覧回数
paulbannister
Contributor I

Many thanks for your help!

0 件の賞賛
返信

1,245件の閲覧回数
SergioSolis
NXP Employee
NXP Employee

Hello Paul,

Can you please type "mount" in your linux terminal?, you should see a row like this:

tmpfs on /tmp/ramdisk type tmpfs (rw,size=32M)

Here is a small tutorial about tmpfs and ramfs, it may help you clarify any doubt you have:

Overview of RAMFS and TMPFS on Linux