Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [RFC][Patch] Adding kmsg_dump() to reboot/halt/poweroff/emergency_restart path | Date | Tue, 19 Oct 2010 17:52:34 +0900 (JST) |
| |
> Hi, > > Final messages from reboot, halt and poweroff aren't output to disk because klogd/syslogd > has been killed and root file system has been turned read-only. > > Final messages from emergency_restart aren't output to disk as well because system may > reboot before klogd/syslogd outputs messages to disk. > > Therefore, it is better to put kmsg_dumper in reboot/halt/poweroff/emergency_restart path. > Any comments/advices are welcome.
I think mtdoops user don't want to dump logs if a system reboot/poweroff safely because mtd device have write count limitation. and they are main user of kmsg_dump().
But if they ack this one, I have no objection.
Thanks.
| |