android_system_core/rootdir
Juhyung Park 852111eea4 init.rc: use /sys/class/block instead of /sys/devices/virtual/block
/sys/class/block covers all of dm-[0-9], sd[a-z], mmcblk[0-9].
Use it instead of /sys/devices/virtual/block, which only covers dm
devices.

This allows f2fs tunings to be applied more reliably regardless of
how the userdata partition is set up.

Do note that while everything under /sys/devices/virtual/block are
expected to have correct SELinux labels by AOSP, some under
/sys/class/block are not as it's symlinked to platform-specific paths,
and it is up to the vendors to label them correctly.

Test: Confirm entries under /dev/sys aren't dangling and cp_interval,
      gc_urgent_sleep_time, iostat_enable and discard_max_bytes are
      all set up properly under FBE, FDE and unencrypted.
Change-Id: I089af5bc068445f33919df6659671e50456d49f9
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2022-03-06 00:31:20 -08:00
..
avb Remove unused rootdir/avb/*-gsi.avbpubkey modules 2022-01-10 14:25:42 +00:00
etc [NETD-BPF#27] Require libnetd_updatable.so from APEX 2022-01-21 08:42:15 +00:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Completely migrate init first stage to Soong 2021-06-18 14:26:55 +09:00
Android.mk Merge "Use sanitizer paths exported by make" 2022-02-18 03:39:26 +00:00
asan.options
asan_extract.rc
asan_extract.sh
init-debug.rc Prevent debugfs unmount on debug builds with a persist property 2021-04-16 13:59:15 -07:00
init.environ.rc.in Export *CLASSPATH variables after apexes are configured. 2021-02-19 17:12:26 +00:00
init.no_zygote.rc Reland "Add a core configuration that disables the zygote." 2022-02-15 16:03:35 -08:00
init.rc init.rc: use /sys/class/block instead of /sys/devices/virtual/block 2022-03-06 00:31:20 -08:00
init.usb.configfs.rc
init.usb.rc Copy vendor.sys.usb.adb.enabled to sys.usb.adb.enabled. 2021-03-22 16:36:17 -07:00
init.zygote32.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
init.zygote64.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
init.zygote64_32.rc Restart media.tuner when zygote is restarted. 2021-11-16 04:51:49 +00:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
ueventd.rc Rename VirtManager to VirtualizationService. 2021-05-24 11:41:13 +00:00