Skip to content

Conversation

@killermoehre
Copy link

/dev/shm is linux only and shouldn't be used even there. Modern
systems do have a tmpfs at /tmp, where it belongs.
ioutil.TempFile creates a temp file based upon os.TempDir, so it
works independent of the actual OS.

`/dev/shm` is linux only and shouldn't be used even there. Modern
systems do have a `tmpfs` at `/tmp`, where it belongs.
`ioutil.TempFile` creates a temp file based upon `os.TempDir`, so it
works independent of the actual OS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant