Is there any way to mount a ramdisk for my snappy app?

XiaoGuo Liu xiaoguo.liu at canonical.com
Mon Dec 21 04:47:03 UTC 2015


Hi,

The IO operation is slow for disks. I want to mount a ramdisk for my snappy
app? Is there anyway to do it? Currently, in my script, I do it like:

#!/bin/sh
set -e

echo "Going to create a ramdisk directory"
mkdir -p ramdisk
mount -t tmpfs none ./ramdisk -o size=10m


When it is executed, I get an error for the above command.

Thanks & best regards,
XiaoGuo



-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151221/346165a3/attachment.html>


More information about the snappy-app-devel mailing list