Creating a ramdisk on the i.MX28 EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating a ramdisk on the i.MX28 EVK

853 Views
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!

Labels (1)
0 Kudos
2 Replies

569 Views
paulbannister
Contributor I

Many thanks for your help!

0 Kudos

569 Views
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