• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Révisionaeab2b64c2be18f8c71fff72b64a62e553ceddba (tree)
l'heure2018-07-19 11:46:47
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Fix NFS mounting

Commit d9dfce00 determined fs type by blkid, but it didn't consider
the NFS case. The patch handles the case directly.

Fixes: d9dfce00 ("init: try to mount according to filesystem type")

Change Summary

Modification

--- a/initrd/init
+++ b/initrd/init
@@ -65,7 +65,8 @@ try_mount()
6565 RW=$1; shift
6666 if [ "${ROOT#*:/}" != "$ROOT" ]; then
6767 # for NFS roots, use nolock to avoid dependency to portmapper
68- RW="nolock,$RW"
68+ mount -o $RW,noatime,nolock $@
69+ return $?
6970 fi
7071 case $(blkid $1) in
7172 *TYPE=*ntfs*)