android13/external/rootdev
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
Android.bp initial 2024-06-22 20:45:49 +08:00
METADATA initial 2024-06-22 20:45:49 +08:00
MODULE_LICENSE_BSD initial 2024-06-22 20:45:49 +08:00
Makefile initial 2024-06-22 20:45:49 +08:00
NOTICE initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
README.chromium initial 2024-06-22 20:45:49 +08:00
inherit-review-settings-ok initial 2024-06-22 20:45:49 +08:00
main.c initial 2024-06-22 20:45:49 +08:00
rootdev.c initial 2024-06-22 20:45:49 +08:00
rootdev.h initial 2024-06-22 20:45:49 +08:00
rootdev_test.sh initial 2024-06-22 20:45:49 +08:00

README.chromium

Chromium OS version of rootdev

Inspired by git://git.debian.org/~lamont/util-linux.git / 717db2c8177203fe242ea35b31bc312abe9aa3c9

Description: Performs operations to discover and annotate the root block device

Prior to this commit, rootdev was derived from the above link.  However, it has
been rewritten in its entirety and licensed as per LICENSE.

chromeos-rootdev:
- Provides core functionality in a library: librootdev
- Walks sysfs to discover the block devices
- Supports resolving through to /sys/block/XXX/slaves/*/dev devices
- Will test and, optionally, symlink to the /dev entry for standard devices.
- Is testable.