summaryrefslogtreecommitdiff
path: root/sutils
diff options
context:
space:
mode:
Diffstat (limited to 'sutils')
-rw-r--r--sutils/MAKEDEV.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index f22d4861..fd7acdba 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -173,11 +173,11 @@ function mkdev {
# We don't want the underlying node to be written by randoms,
# but the filesystem presented should be writable by anyone
# and have the sticky bit set so others' files can't be removed.
- # tmpfs requires an arbitrary size limitation here.
- # To be like Linux, tmpfs could have an option to compute
- # that max based on (half of) the physical RAM in the machine.
+ # tmpfs requires an arbitrary size limitation here. To be like
+ # Linux, we tell tmpfs to set the size to half the physical RAM
+ # in the machine.
shm)
- st $I root 644 /hurd/tmpfs -m 1777 512M
+ st $I root 644 /hurd/tmpfs --mode=1777 50%
;;
# Linux compatibility