summaryrefslogtreecommitdiffstats
path: root/init/util.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from open-source masterThe Android Open Source Project2010-07-161-2/+3
|\ | | | | | | Change-Id: I29602fecafc2b6d93b849ada89696a67cfd23353
* | init: Move uevent handling to an external ueventd processColin Cross2010-04-211-0/+65
| | | | | | | | Change-Id: Iea6c56013062ade633a1754f7bcf8cf09b3dedc1
* | init: Add wait command and mount wait flagColin Cross2010-04-211-0/+12
| | | | | | | | Change-Id: I6b4c10f8f246095a7fb7342388ec4f6ff97d5733
* | init: Move list and log handling to list.h and log.hColin Cross2010-04-211-1/+2
| | | | | | | | Change-Id: I298f575c590d0f28b7ad78747f3ebdbba56b7a27
* | init: create symlinks to block device nodesColin Cross2010-04-211-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eMMC block device names may change based on the detection order of the eMMC device and any other SD bus devices, such as a removable SD card. This patch adds support to init for: * Symlinks to block devices. When a block device uevent is processed, if it starts with "/devices/platform", the platform driver name is parsed out, and symlinks to the block device are created in /dev/block/platform/<platform driver>/ * Symlinks based on partition name and number. If the uevent for a block device contains information on the partition name or number, symlinks are created under /dev/block/platform/<platform driver>/by-num/p<partition> and /dev/block/platform/<platform driver>/by-name/<partition name> init.rc can then use a device path like the following to mount an eMMC device: /dev/block/platform/<platform>/by-name/system /system ro Change-Id: Id11bb7cdf1e2ada7752a5bd671cbf87237b34ae2
* | init: Move gettime() to util.cColin Cross2010-04-131-0/+19
| | | | | | | | Change-Id: I1df96964763f8baedbc1cea6875d3dfc5e48c065
* | init: Move mtd functions from init.c to util.cColin Cross2010-04-131-0/+71
|/ | | | Change-Id: I04e8f0ae6cc88af974372872e5617d16e0b1a2c8
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+211
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-211/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+211