ramfs

For the beaglebone…what is the recommended location or technique for a small <1mb ramfs.

using libgphoto2 to grab preview images and then pass it through to my socket client. Need a place to temporarily store it.

FYI…new to Linux

Hi,

I use tmpfs:

mkdir -p /mnt/tmp
mount -t tmpfs -o size=2m tmpfs /mnt/tmp

HTH
Pedro

thanx works like a charm

another way can be:

mkdir -p /mnt/ram-disk
mkfs -q /dev/ram0 8192
mount /dev/ram0 /mnt/ram-disk

8192 is the size (8 MB)

Another way would just be to stick it in /tmp, no....?

Hi,

I believe that /tmp is part of the sdcard filesystem (mmcblk0p2) and he needs a ram fs (like ramfs or tmpfs) to speed up the process.

regards,
Pedro

2012/6/1 Pedro Ignacio Martos <pi_martos2005@yahoo.com.ar>

Hi,

I believe that /tmp is part of the sdcard filesystem (mmcblk0p2) and he needs a ram fs (like ramfs or tmpfs) to speed up the process.

regards,
Pedro

Another way would just be to stick it in /tmp, no....?

– To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard+unsubscribe@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq

I am trying to find something like that (ramfs, filesystem over RAM), I have this link that I think is the method…

8206.HowToEditRAMDisk.pdf

what do you think?