Ver Fonte

Extended SquashFS mount options in initramfs

Added "nodev", since SquashFS does not contain device nodes anymore.
Maxim Kammerer há 13 anos atrás
pai
commit
e9e4651797
1 ficheiros alterados com 1 adições e 1 exclusões
  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}