dev_shmem 126 Bytes
Newer Older
1 2
#!/bin/sh

3
test -d /dev/shm && rm -rf /dev/shm
4
mkdir -m 1777 /dev/shm
5
mount -t tmpfs -o nosuid,nodev,size=4096k none /dev/shm