index
:
Scripts
master
-
realtradam
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
path:
root
/
ramdisk
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'ramdisk')
-rwxr-xr-x
ramdisk
4
1 files changed, 4 insertions, 0 deletions
diff --git a/ramdisk b/ramdisk
new file mode 100755
index 0000000..8e25d50
--- /dev/null
+++ b/
ramdisk
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+mkdir /tmp/$1
+sudo mount -t tmpfs -o nodev,nosuid,noexec,nodiratime,size=$2 none /tmp/$1