summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-24 03:19:34 +0000
committerRoland McGrath <roland@gnu.org>2002-03-24 03:19:34 +0000
commit70d79ff2e685d8aa479d580f4a889a5f437ec1e5 (patch)
treeaf1e25a4d7b1b267b4e9a7c42ef6ab5c754e709c
parent3460505239e0af2470813bb5ea711a01290b9667 (diff)
2002-03-23 Roland McGrath <roland@frob.com>
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
-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