Timeline for How to create a read-only RAM disk on macOS from the command line?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2020 at 3:06 | vote | accept | Vej | ||
Jan 21, 2020 at 17:06 | history | became hot network question | |||
Jan 21, 2020 at 13:53 | comment | added | user3439894 |
Since you're using macOS Catalina why not use APFS instead of HFS+? After all macOS Catalina uses APFS. The following command works for me: diskutil partitionDisk $(hdiutil attach -nomount ram://1048576) 1 GPTFormat APFS 'RAMDisk' '100%' One advantage, while somewhat negligible as a RAM disk, APFS is faster. It also has less initial overhead, e.g. on a 512 MB disk HFS+ already uses 12.6 MB and APFS only uses 25 K. Percentage wise that's a big difference.
|
|
Jan 21, 2020 at 12:46 | answer | added | klanomath | timeline score: 11 | |
Jan 21, 2020 at 9:00 | review | First posts | |||
Jan 21, 2020 at 10:48 | |||||
Jan 21, 2020 at 8:58 | history | asked | Vej | CC BY-SA 4.0 |