Skip to content

iKenndac/create-ram-disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

create-ram-disk is a tiny little Mac command-line tool that creates, formats and mounts a RAM disk of the given name and size. It wraps the built-in tools hdiutil and diskutil in a slightly more friendly manner, and does cleanup if the commands fail for some reason.

License

create-ram-disk is licensed under three-clause BSD. The license document can be found here.

Building

  1. Clone create-ram-disk using $ git clone git://github.com/iKenndac/create-ram-disk.git.
  2. Open the project and build away!

Usage

$ create-ram-disk -name <RAM disk name> -size <size> [-wait <seconds>]

  • -name The name of the RAM disk. Will be used as the mount point and the volume's label.

  • -size The size of the RAM disk. Value must be a nonzero integer followed by MB or GB, such as 500MB or 2GB.

  • -wait A positive number of seconds to wait for /Volumes to become available. Can be helpful if executing at startup.

About

A little Mac command-line tool to create a RAM disk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published