From 85c910ab0b8a2082c46495a4645041eecd41776f Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Sun, 8 Mar 2015 16:32:41 +0100 Subject: Mount pstore filesystem while in recovery * pstore filesystem is evolution of ram_console and contains kmsg from previous boot (previously in /proc/last_kmsg). * Lollipop init.rc does this. If device doesn't have pstore fs, it will simply be ignored Change-Id: Id3bf8763ccde54f87fde5cdf2db511649c376aa4 Signed-off-by: Vojtech Bocek --- etc/init.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/init.rc b/etc/init.rc index e070438..41570fb 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -45,6 +45,8 @@ on init write /proc/sys/vm/max_map_count 1000000 on fs + mount pstore pstore /sys/fs/pstore + mkdir /dev/usb-ffs 0770 shell shell mkdir /dev/usb-ffs/adb 0770 shell shell mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 -- cgit v1.1