diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-04-19 22:42:12 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-04-19 22:44:49 +0200 |
commit | f564f46dad5ccdcb87c7b56d0c58e9afe4ff49f3 (patch) | |
tree | 9a892d987e09ed7aed9eaa9cbb2a08b4a67cabf0 | |
parent | e0cb0181c47597950d86ffc8d8dadd6520a8d504 (diff) |
MAKEDEV: Do not mount a tmpfs on /dev/shm for now
tmpfs loses files when they are unlinked but still mapped.
-rw-r--r-- | sutils/MAKEDEV.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh index 7c35fd7d..de31c1be 100644 --- a/sutils/MAKEDEV.sh +++ b/sutils/MAKEDEV.sh @@ -251,7 +251,11 @@ mkdev() { # Linux, we tell tmpfs to set the size to half the physical RAM # in the machine. shm) - st $I root 644 d /hurd/tmpfs --mode=1777 50% + # Not yet, see https://darnassus.sceen.net/~hurd-web/open_issues/tmpfs/ + #st $I root 644 d /hurd/tmpfs --mode=1777 50% + if [ ! -e "/dev/$I" ]; then + ln -s /tmp /dev/$I + fi ;; pseudo-root) |