platform_system_core/fs_mgr
Ken Sumrall bf021b4cd7 fs_mgr: Capture the output of e2fsck and add to the kernel log
Currently, the output of e2fsck is not saved, and we have no insight
into how many errors e2fsck is finding and fixing.  Using the new
abbreviated logging feature in liblogwrap, up to the first 100 lines,
and last 4K bytes of the output of e2fsck is captured by fs_mgr, and
added to the kernel log.

Usually, the filesystem will be clean, and this will only add a few
lines to the kernel log on boot, but when things go wrong, it should
save enough to indicate what the problem is, without potentially
filling the kernel log with only e2fsck output if the filesystem is
really corrupted.

Change-Id: I9c264798e6fe721c8f818b5ce15d0975027ddbdd
2013-04-14 17:11:00 -07:00
..
include fs_mgr: support a unified fstab format. 2013-02-19 10:18:42 -08:00
Android.mk fs_mgr: Capture the output of e2fsck and add to the kernel log 2013-04-14 17:11:00 -07:00
fs_mgr.c fs_mgr: Capture the output of e2fsck and add to the kernel log 2013-04-14 17:11:00 -07:00
fs_mgr_main.c fs_mgr: support a unified fstab format. 2013-02-19 10:18:42 -08:00
fs_mgr_priv.h fs_mgr: add support for new recoveryonly flag 2013-02-22 17:40:58 -08:00