/[hurd]/hurd/sutils/MAKEDEV.sh
ViewVC logotype

Diff of /hurd/sutils/MAKEDEV.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by roland, Sun Mar 24 02:51:38 2002 UTC revision 1.23 by roland, Sun Mar 24 03:19:34 2002 UTC
# Line 173  function mkdev { Line 173  function mkdev {
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

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26