From 70d79ff2e685d8aa479d580f4a889a5f437ec1e5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Mar 2002 03:19:34 +0000 Subject: 2002-03-23 Roland McGrath * MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%. --- sutils/MAKEDEV.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sutils/MAKEDEV.sh') 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 -- cgit v1.2.3