فهرست منبع

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}