Explorar el Código

Extended SquashFS mount options in initramfs

Added "nodev", since SquashFS does not contain device nodes anymore.
Maxim Kammerer hace 13 años
padre
commit
e9e4651797
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/root/initrd/init

+ 1 - 1
src/root/initrd/init

@@ -163,7 +163,7 @@ if [ -n "${param_loop}" ]; then
 
     # CONFIG_FEATURE_DEVFS must be disabled for BusyBox
     good_msg 'Mounting SquashFS filesystem'
-    mount -r -t squashfs -o loop ${rootimg} ${slive}
+    mount -r -t squashfs -o loop,nodev ${rootimg} ${slive}
     test_success 'mount compressed filesystem'
 
     [ -z "${param_toram}" ] || mount -o remount,rw ${srwroot}