diff options
author | Roland McGrath <roland@gnu.org> | 2002-03-24 02:27:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-03-24 02:27:53 +0000 |
commit | 844d5fd74c12be0560937f7ceff62408d4dafb09 (patch) | |
tree | 2a6f6f1533cffb82aa6ebe047397426cf1657321 | |
parent | 7eeac160748a1550e8022b0827f5a070260546c1 (diff) |
2002-03-23 Roland McGrath <roland@frob.com>
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem.
(mkdev: std): Add shm to the standard list.
-rw-r--r-- | sutils/MAKEDEV.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh index e443bf2e..ac7162fc 100644 --- a/sutils/MAKEDEV.sh +++ b/sutils/MAKEDEV.sh @@ -86,7 +86,7 @@ function mkdev { ;; std) - mkdev console tty null zero full fd time mem klog + mkdev console tty null zero full fd time mem klog shm ;; console|tty[0-9][0-9a-f]|tty[0-9a-f]|com[0-9]) st $I root 600 /hurd/term ${DEVDIR}/$I device $I;; @@ -169,12 +169,18 @@ function mkdev { st $I root 640 /hurd/storeio $I ;; + # /dev/shm is used by the POSIX.1 shm_open call in libc. + shm) + st $I root 1777 /hurd/tmpfs + ;; + # Linux compatibility loop*) # In Linux an inactive "/dev/loopN" device acts like /dev/null. # The `losetup' script changes the translator to "activate" the device. st $I root 640 /hurd/null ;; + *) lose "$I: Unknown device name" ;; |