Go to file
Jay Freeman (saurik) 1964942af0 Removed special consideration of EBUSY from mountd's auto-mounter.
If the SD card is partitioned and one attempts to use a partition of the SD card for another purpose (maybe even booting off of it), then mmcblk0 is considered "busy" when mountd tries to mount it (as specified by /etc/mountd.conf). Normally, it would then attempt to mount partitions of the device, but as "busy" is specially treated in the code it does not consider this to be an error condition.

The argment for this check is that "the device is likely already mounted", but that is obviously not something that should be assumed (and is not true in this example situation). Even if the device were already mounted, from the auto-mounter's viewpoint this should be considered an error anyway, as it failed to mount it as it was told. I therefore believe this check to not only be causing the above problem but also to be incorrect. This change removes it.

For more information, see this thread:
http://groups.google.com/group/android-porting/browse_thread/thread/a67cbe36603d429a
2008-11-20 00:20:44 +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 Set permissions for /dev/msm_snd. 2008-10-29 16:08:18 -07: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 Removed special consideration of EBUSY from mountd's auto-mounter. 2008-11-20 00:20:44 +00: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

README

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