LoginSignup
14
15

More than 5 years have passed since last update.

RAMディスクを作成する

Last updated at Posted at 2013-01-11

以下のコマンドを実行

$ diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://2097152`

ram://xxxxxx の xxxxxx の値は作成するRAMディスクの容量(MByte) * 2048 の値とする。
上記の例では 1GByte のRAMディスクを作成している。

上記を実行すると /Volumes/ramdisk にRAMディスクがマウントされる。

参考

How to create a RAM Disk with Mac OS X Terminal | Your Daily Mac

14
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
15