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 <vbocek@gmail.com>
This commit is contained in:
Vojtech Bocek
2015-03-08 16:32:41 +01:00
committed by Ethan Yonker
parent 3041c887f1
commit 05ec1d470d

View File

@@ -36,6 +36,8 @@ on init
write /proc/sys/kernel/panic_on_oops 1
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