Just asking.... how can I confirm that it has been executed? Does anything get logged anywhere?rc.initdiskless is executed automatically during the boot process, no user interaction or configuration necessary.
Just asking.... how can I confirm that it has been executed? Does anything get logged anywhere?rc.initdiskless is executed automatically during the boot process, no user interaction or configuration necessary.
rc.initdiskless is executed automatically during the boot process, no user interaction or configuration necessary.
Just asking.... how can I confirm that it has been executed? Does anything get logged anywhere?
I did as you suggested but nothing appeared. Maybe there was no write permission.Edit it and put a `echo kilroy was here > /tmp/foo` in it.
I did as you suggested but nothing appeared. Maybe there was no write permission.
I'll try something else just to make sure.
Just trying again noticed that a message about 'read only file system' so rc.initdiskless is actually being executed.
For some reason the message does not show up when running dmesg.
. Userland startup is not captured.
Is there any way to get it captured?
I meant is it possible to see those messages output during the boot process which are not shown by dmesg?
#! /bin/sh
set -x
mount /dev/whatever /mnt
(
[acutual script]
) 2>&1 | tee /mnt/log
rc.initdiskless is executed automatically during the boot process, no user interaction or configuration necessary.
Why not?I am not entirely convinced of that.
When booting from an NFS root volume, /etc/rc detects the NFS boot and runs /etc/rc.initdiskless.