173 |
# We don't want the underlying node to be written by randoms, |
# We don't want the underlying node to be written by randoms, |
174 |
# but the filesystem presented should be writable by anyone |
# but the filesystem presented should be writable by anyone |
175 |
# and have the sticky bit set so others' files can't be removed. |
# and have the sticky bit set so others' files can't be removed. |
176 |
# tmpfs requires an arbitrary size limitation here. |
# tmpfs requires an arbitrary size limitation here. To be like |
177 |
# To be like Linux, tmpfs could have an option to compute |
# Linux, we tell tmpfs to set the size to half the physical RAM |
178 |
# that max based on (half of) the physical RAM in the machine. |
# in the machine. |
179 |
shm) |
shm) |
180 |
st $I root 644 /hurd/tmpfs -m 1777 512M |
st $I root 644 /hurd/tmpfs --mode=1777 50% |
181 |
;; |
;; |
182 |
|
|
183 |
# Linux compatibility |
# Linux compatibility |