No description
Find a file
Jay Freeman (saurik) e520d03616 Added support for loop@/path/to/filename to init's mount.
In keeping with the pattern of mtd@partition, I have added loop@path as a way to specify a loopback device. This way you can do things like mount directories in /system using cramfs from a file otherwise on /system (just one example oof how I'm using it). I specifically went with loop@ rather than adding this feature as a flag as the flags system is designed to set bits in the flags argument to mount: using loop@ fit the model in a much simpler manner and actually feels "correct".

This is a better version of the previously submitted 4045 that also refactors the mtd@ case. The reason for this is that I received comments that I should check for errors and return errors rather that do work in the case of success and fall through, but the mtd@ case wasn't doing that either and it became awkward to design the function so that it was half in one style of error handling and half in another. I also made certain to use inequality comparisons for Unix's -1 error returns rather than checking for -1, refactored my large if statement so as not to have danling parentheses, and disassocited the loop device on mount failure.
2008-11-20 18:38:36 +00:00
adb Initial Contribution 2008-10-21 07:00:00 -07:00
cpio Initial Contribution 2008-10-21 07:00:00 -07:00
debuggerd Initial Contribution 2008-10-21 07:00:00 -07:00
fastboot Initial Contribution 2008-10-21 07:00:00 -07:00
include 1. added macro definitions to AndroidConfig.h 2008-11-07 11:44:22 +10:00
init Added support for loop@/path/to/filename to init's mount. 2008-11-20 18:38:36 +00:00
libctest Initial Contribution 2008-10-21 07:00:00 -07:00
libcutils Initial Contribution 2008-10-21 07:00:00 -07:00
liblog 1. added macro definitions to AndroidConfig.h 2008-11-07 11:44:22 +10:00
libmincrypt Initial Contribution 2008-10-21 07:00:00 -07:00
libnetutils Initial Contribution 2008-10-21 07:00:00 -07:00
libpixelflinger Initial Contribution 2008-10-21 07:00:00 -07:00
libzipfile Initial Contribution 2008-10-21 07:00:00 -07:00
logcat Initial Contribution 2008-10-21 07:00:00 -07:00
logwrapper logwrapper: switch from root to user/group "log" after forking child. 2008-11-01 15:35:28 -04:00
mkbootimg Initial Contribution 2008-10-21 07:00:00 -07:00
mountd Initial Contribution 2008-10-21 07:00:00 -07:00
netcfg Initial Contribution 2008-10-21 07:00:00 -07:00
rootdir Initial Contribution 2008-10-21 07:00:00 -07:00
sh Initial Contribution 2008-10-21 07:00:00 -07:00
toolbox Initial Contribution 2008-10-21 07:00:00 -07:00
Android.mk Initial Contribution 2008-10-21 07:00:00 -07:00
README Initial Contribution 2008-10-21 07:00:00 -07:00

The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc