commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Creates a temporary ram partition
to make a 3gb partition (Defaults to 1gb)
There are 4 alternatives - vote for the best!
Makes a partition in ram which is useful if you need a temporary working space as read/write access is fast.
Be aware that anything saved in this partition will be gone after your computer is turned off.
If you use eatmydata, all fsyncs will be ignored, so things will go much faster. Maybe not quite as fast as a ramdisk, but if you have enough free memory, the fs cache should help a lot. Just remember to sync afterwards--and if your system crashes in the middle of the command... :)
If you can do better, submit your command here.
You must be signed in to comment.