]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Improper initrd failure message at boot time
authorJay Lan <jlan@engr.sgi.com>
Thu, 30 Jun 2005 09:59:03 +0000 (02:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 15:45:12 +0000 (08:45 -0700)
commit945c57c47c878e729336dc01b8e33464947a101d
tree4d9d1a199625d8b657a69d9afeed17c0dbb02a10
parent523e7959b2b465426af79370a4757afbf2b19edb
[PATCH] Improper initrd failure message at boot time

On system boot up, there was an failure reported to boot.msg:

     <5>Trying to move old root to /initrd ... failed

According to initrd(4) man page, step #7 of BOOT-UP OPERATION
is described as below:
          7. If the normal root file has directory /initrd, device
          /dev/ram0 is moved from  /  to  /initrd.   Otherwise  if
          directory  /initrd  does  not  exist device /dev/ram0 is
          unmounted.

We got service calls from customers concerning about this failure message
at boot time.  Many systems do not have /initrd and thus the message can be
changed in the case of non-existing /initrd so that it does not sound like
a failure of the system.

Signed-off-by: Jay Lan <jlan@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
init/do_mounts_initrd.c