Skip to content

Add ramdisk creation for mac #1

Description

@bHimes

/tmp doesn't work, need to create a ramdisk

diskutil erasevolume HFS+ 'RAM Disk' hdiutil attach -nobrowse -nomount ram://XXXXX
XXXX = size in MB * 2048 (not sure if the block size changes on different macs)

hdiutil detach /dev/ramdisk3

(Figure out how to either specify the name, or at least find out what it is.)

attach -mountpoint [path]
mkdtemp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions