Skip to content

replace /dev/shm/$uuid by actual random tmpfile#1

Open
killermoehre wants to merge 1 commit into
cernops:masterfrom
killermoehre:master
Open

replace /dev/shm/$uuid by actual random tmpfile#1
killermoehre wants to merge 1 commit into
cernops:masterfrom
killermoehre:master

Conversation

@killermoehre

Copy link
Copy Markdown

/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