Created
July 12, 2011 01:14
-
-
Save miebach/1077178 to your computer and use it in GitHub Desktop.
Create a ramdisk in linux on th fly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p /tmp/ramdisk | |
sudo mount -t tmpfs -o size=512M tmpfs /tmp/ramdisk | |
#sudo mount -t tmpfs -o size=1G tmpfs /tmp/ramdisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment