浏览代码

Extended SquashFS mount options in initramfs

Added "nodev", since SquashFS does not contain device nodes anymore.
Maxim Kammerer 13 年之前
父节点
当前提交
e9e4651797
共有 1 个文件被更改,包括 1 次插入1 次删除
  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}