File: dev-shm-mount

package info (click to toggle)
dracut 020-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,536 kB
  • sloc: sh: 11,827; ansic: 1,960; makefile: 183; python: 165; perl: 55
file content (16 lines) | stat: -rw-r--r-- 650 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: dracut/modules.d/99base/init.sh
===================================================================
--- dracut.orig/modules.d/99base/init.sh	2012-06-03 23:05:34.963039132 +0200
+++ dracut/modules.d/99base/init.sh	2012-06-03 23:05:40.852039264 +0200
@@ -55,11 +55,6 @@
     mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null 
 fi
 
-if ! ismounted /dev/shm; then
-    mkdir -m 0755 /dev/shm
-    mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime tmpfs /dev/shm >/dev/null 
-fi
-
 if ! ismounted /run; then
     mkdir -m 0755 /newrun
     mount -t tmpfs -o mode=0755,nosuid,nodev,strictatime tmpfs /newrun >/dev/null