Allow to run fsck.f2fs in first_stage_ramdisk
[ 23.065933][ T1] init: [libfs_mgr]Running /system/bin/fsck.f2fs -a -c 10000 --debug-cache /dev/block/sda8 [ 23.067470][ T1] logwrapper: Cannot log to file /dev/fscklogs/log [ 23.067829][ T1] logwrapper: [ 23.068997][ T332] logwrapper: executing /system/bin/fsck.f2fs failed: Permission denied [ 23.069759][ T1] fsck.f2fs: executing /system/bin/fsck.f2fs failed: Permission denied [ 23.071659][ T332] logwrapper: [ 23.083283][ T1] fsck.f2fs: fsck.f2fs terminated by exit(255) [ 23.083283][ T1] [ 23.111166][ T1] F2FS-fs (sda8): Found nat_bits in checkpoint [ 23.121242][ T1] F2FS-fs (sda8): Mounted with checkpoint version = 6a65cb64 [ 23.121831][ T1] init: [libfs_mgr]__mount(source=/dev/block/platform/14700000.ufs/by-name/metadata,target=/metadata,type=f2fs)=0: Success Bug: 210589189 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I720e2aa4b1ab845af96610cd0d9c6e3c9b4cae03
This commit is contained in:
parent
afd4ccd70b
commit
b783310e71
|
@ -211,6 +211,7 @@ static const struct fs_path_config android_files[] = {
|
|||
{ 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/resize2fs" },
|
||||
{ 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/snapuserd" },
|
||||
{ 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/tune2fs" },
|
||||
{ 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/fsck.f2fs" },
|
||||
// generic defaults
|
||||
{ 00755, AID_ROOT, AID_ROOT, 0, "bin/*" },
|
||||
{ 00640, AID_ROOT, AID_SHELL, 0, "fstab.*" },
|
||||
|
|
Loading…
Reference in New Issue