OSDN Git Service

android-x86/system-vold.git
13 years agoSet VM dirty ratio to zero when UMS is active
Mike Lockwood [Thu, 28 Oct 2010 19:21:24 +0000 (15:21 -0400)]
Set VM dirty ratio to zero when UMS is active

Improves UI responsiveness when copying large amount of data to the device.

BUG: 3131847

Change-Id: I4aa5ade7e2cd7e5110c8f0f7ee43bdc57577e11d
Signed-off-by: Mike Lockwood <lockwood@google.com>
13 years agoBetter error code for unmounting not-mounted volumes
Kenny Root [Fri, 1 Oct 2010 01:00:52 +0000 (18:00 -0700)]
Better error code for unmounting not-mounted volumes

ENOENT is more descriptive than the generic error that EINVAL gets
turned into. Then we can actually treat it how we want on the other
side.

Change-Id: I9b4f3be6308e13f680eae368d2167ab9ee6aae5f

13 years agoTrack type of container mounted
Kenny Root [Fri, 24 Sep 2010 22:11:48 +0000 (15:11 -0700)]
Track type of container mounted

OBB and ASEC are tracked in the same active container list, but when it
comes time to unmount everything, it was trying to unmount the OBBs
according to ASEC rules. This led to the OBB not being unmounted and the
volume unmount failing.

Change-Id: I12c1d4d387b8022185d552b63edd61a50b9c0fc3

13 years agoMore fixes for internal FAT partitions:
Mike Lockwood [Tue, 21 Sep 2010 17:56:35 +0000 (13:56 -0400)]
More fixes for internal FAT partitions:

Fix formatting partitions beyond the first partition.
Do not try to initialize the MBR when formatting only a single partition.

Change-Id: Ifbbd279b1c288b7b1b884a1a89248e3086ed735f
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoAdd some missing closes on error conditions.
Brad Fitzpatrick [Mon, 20 Sep 2010 18:11:46 +0000 (11:11 -0700)]
Add some missing closes on error conditions.

Also, some formatting fixes to get back into line with netd's copy of
logwrapper.c.

Change-Id: Id471b99e9c3c8c9bb0890ca0d5e1567125e35bd7

13 years agoFixes for devices with internal FAT file system:
Mike Lockwood [Fri, 17 Sep 2010 22:50:51 +0000 (18:50 -0400)]
Fixes for devices with internal FAT file system:

Only share a single partition via UMS if a specific partition
is specified in vold.fstab (rather than "auto")

Do not fail to reformat if MBR cannot be found.

Change-Id: I544ca2ee325c308af656ab9f4732c788a964c156
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoAllow execute on mounted ASEC and OBB containers
Kenny Root [Fri, 27 Aug 2010 15:31:35 +0000 (08:31 -0700)]
Allow execute on mounted ASEC and OBB containers

This allows us to place shared libraries in these containers which may
only be loaded if they are executable.

Change-Id: I78fa9ab6d5c58ec8b98c40004da72aebc0aade2a

14 years agoFix loop_info/loop_info64 impedance mismatch
Kenny Root [Fri, 16 Jul 2010 22:04:55 +0000 (15:04 -0700)]
Fix loop_info/loop_info64 impedance mismatch

LOOP_GET_STATUS64 isn't useful here since the data contained within
isn't actually checked, so stick with the regular LOOP_GET_STATUS here
to match the struct loop_info we're using.

Change-Id: I4f9ff06fa44d4ae3aed046d423054554f9cf450b

14 years agoAdditional Obb functionality
Kenny Root [Mon, 12 Jul 2010 16:59:49 +0000 (09:59 -0700)]
Additional Obb functionality

* Rename all functions dealing with OBB files to mention Obb

* Add 'path' and 'list' functionality to OBB commands

* Store hashed filename in loop's lo_crypt_name and keep lo_file_name
  for the real source filename. That way we can recover it later with an
  ioctl call.

Change-Id: I29e468265988bfb931d981532d86d7be7b3adfc8

14 years agoAdd image mounting commands for OBB files
Kenny Root [Thu, 1 Jul 2010 01:48:41 +0000 (18:48 -0700)]
Add image mounting commands for OBB files

Allow the mounting of OBB filesystem images if they're encrypted with
twofish and in FAT filesystem format.

Change-Id: I54804e598f46b1f3a784ffe517ebd9d7626de7aa

14 years agoUse new kernel notifications to determine if USB mass storage is available.
Mike Lockwood [Sat, 26 Jun 2010 03:04:04 +0000 (23:04 -0400)]
Use new kernel notifications to determine if USB mass storage is available.

The usb_mass_storage switch no longer exists in our 2.6.35 kernel.
Instead we will consider mass storage to be available if both USB is connected
and the USB mass storage function is enable.

Change-Id: I730d1b3cb3cac664fc2abcdc36cd39856a08404a
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoChange ASCII conversion for hash and add tests
Kenny Root [Sat, 19 Jun 2010 02:06:50 +0000 (19:06 -0700)]
Change ASCII conversion for hash and add tests

Hash was printed using snprintf(), but we can just write yet another hex
conversion utility!

Change-Id: I04f1992deaf5bf1b3e2751c8f07072f8ed6660e9

14 years agoGet rid of warnings when compiled with -Wformat-security
Nick Kralevich [Fri, 14 May 2010 17:37:37 +0000 (10:37 -0700)]
Get rid of warnings when compiled with -Wformat-security

Change-Id: I27e0819aba347e26051ad771c594b69700da1721

14 years agovold: Ensure we cleanup secure containers on card removal.
San Mehat [Thu, 15 Apr 2010 19:58:50 +0000 (12:58 -0700)]
vold: Ensure we cleanup secure containers on card removal.

Fixes bug: http://b/issue?id=2567572

Note: The framework will still likely restart since the system_server
is holding references to assets on the card which are mmaped, but
at least now storage will be available when a new card is re-inserted.

Change-Id: I4e195c0c666426b93da47198fa826a6f58d855a9
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Switch from LOG -> SLOG
San Mehat [Wed, 24 Mar 2010 17:24:19 +0000 (10:24 -0700)]
vold: Switch from LOG -> SLOG

Change-Id: I48ee8bd90b47f5845f069cdf4d1b8ba6ecdb1b39
Signed-off-by: San Mehat <san@google.com>
14 years agoRevert "Prevent null pointer deref in DirectVolume"
Kenny Root [Thu, 25 Mar 2010 03:18:00 +0000 (20:18 -0700)]
Revert "Prevent null pointer deref in DirectVolume"

This reverts commit a9f423dd7e313854ce7c103e1bb4661b05efc9a4.

14 years agoPrevent null pointer deref in DirectVolume
Kenny Root [Wed, 24 Mar 2010 22:37:48 +0000 (15:37 -0700)]
Prevent null pointer deref in DirectVolume

There's a possibility that if something were messed up a call to
NetlinkEvent::findParam could return a NULL. Passing NULL as the
argument into atoi() would cause a null pointer dereference.

Change-Id: Ib071afbbe2adc341108c245ffa596cc8730bd8fd

14 years agovold: asec path cmd now returns OpFailedStorageNotFound if id doesn't exist
San Mehat [Tue, 23 Mar 2010 18:15:58 +0000 (11:15 -0700)]
vold: asec path cmd now returns OpFailedStorageNotFound if id doesn't exist

Change-Id: Icbe3de7c28505f7496c8f8edea126c7b616de475
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add mounted filesystems to dump cmd
San Mehat [Wed, 17 Mar 2010 16:50:54 +0000 (09:50 -0700)]
vold: Add mounted filesystems to dump cmd

Change-Id: If025e7ee10a79ff089920a6d0c1a52358b2d2c22
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Convert to use OpenSSL MD5 API
Kenny Root [Mon, 15 Mar 2010 20:13:41 +0000 (13:13 -0700)]
vold: Convert to use OpenSSL MD5 API

Change-Id: I9b84370fa9a98464c211ebe8983be8dbe9dd7ccd

14 years agovold: remove some dead code
San Mehat [Mon, 15 Mar 2010 17:28:21 +0000 (10:28 -0700)]
vold: remove some dead code

Change-Id: Iaeb5d3334ec22ed31da9734bb8d7cd17e6a40eaf
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Remove autorun.inf at mount/unmount time if it exists
San Mehat [Sun, 14 Mar 2010 20:41:54 +0000 (13:41 -0700)]
vold: Remove autorun.inf at mount/unmount time if it exists

Change-Id: Ia57da8ee177453a601a23d965c2b4f16b6de46e5
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Fix argument validation for volume commands
San Mehat [Sun, 14 Mar 2010 20:41:27 +0000 (13:41 -0700)]
vold: Fix argument validation for volume commands

Change-Id: I74aa63ff9f9bc32bd871e6c53ab50b6baf79e650
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Bugfixes & cleanups
San Mehat [Fri, 12 Mar 2010 21:32:47 +0000 (13:32 -0800)]
vold: Bugfixes & cleanups

  - Fix issue where container-names > 64 bytes were getting truncated in the
    kernel. lo_name is only 64 bytes in length, so we now hash the container
    id via md5
  - Add 'dump' command to dump loop and devicemapper status
  - Add 'debug' command to enable more detailed logging at runtime
  - Log vold IPC arguments (minus encryption keys)
  - Fix premature return from Loop::lookupActive() and friends

Change-Id: I0e833261a445ce9dc1a8187e5501d27daba1ca76
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Switch to using libdiskconfig for partition setup.
San Mehat [Wed, 10 Mar 2010 20:48:57 +0000 (12:48 -0800)]
vold: Switch to using libdiskconfig for partition setup.
Also handles an issue where NPARTS=0 on a disk change uevent

Change-Id: I77c56f177dc65df91468bbd7d5fe1889db414d7a
Signed-off-by: San Mehat <san@google.com>
14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:05:25 +0000 (18:05 -0800)]
Add an empty CleanSpec.mk

Change-Id: Ied5f7eddd18adb38699c8a034a78ff9de4aab8de

14 years agovold: Add a versioned superblock to secure containers.
San Mehat [Wed, 3 Mar 2010 20:37:32 +0000 (12:37 -0800)]
vold: Add a versioned superblock to secure containers.

Add an un-encrypted superblock to the end of a secure container to
help identify the crypto cipher used. This is required in order to
provide some semblence of versioning, in case we have cause to
change the crypto type on an update - say for example switching
from software to hardware encryption, or from 128 -> a zillion
bit keys.

NOTE: This format is incompatible with previous secure containers.
After this change they will no longer be mountable.

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add support for xwarp
San Mehat [Tue, 2 Mar 2010 21:16:50 +0000 (13:16 -0800)]
vold: Add support for xwarp

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Don't bail out on init failure & bump version number
San Mehat [Tue, 2 Mar 2010 21:16:33 +0000 (13:16 -0800)]
vold: Don't bail out on init failure & bump version number

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Allow creation of a container with no filesystem
San Mehat [Mon, 1 Mar 2010 04:17:20 +0000 (20:17 -0800)]
vold: Allow creation of a container with no filesystem

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Fix uninitialized mountpoint bug
San Mehat [Wed, 24 Feb 2010 20:12:34 +0000 (12:12 -0800)]
vold: Fix uninitialized mountpoint bug

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Retry rmdir of asec mount point
San Mehat [Wed, 24 Feb 2010 19:43:22 +0000 (11:43 -0800)]
vold: Retry rmdir of asec mount point

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Prohibit container rename when dst container is mounted
San Mehat [Wed, 24 Feb 2010 16:42:51 +0000 (08:42 -0800)]
vold: Prohibit container rename when dst container is mounted

Signed-off-by: San Mehat <san@google.com>
14 years agovold: fix infinite loop when failing to unmount a busy container in unmountVolume()
San Mehat [Wed, 24 Feb 2010 16:25:55 +0000 (08:25 -0800)]
vold: fix infinite loop when failing to unmount a busy container in unmountVolume()

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Make asec sdcard dir a hidden dir
San Mehat [Wed, 24 Feb 2010 02:26:13 +0000 (18:26 -0800)]
vold: Make asec sdcard dir a hidden dir

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Stage the mounting of media to hide the ASEC imagefile directory
San Mehat [Sat, 20 Feb 2010 02:14:36 +0000 (18:14 -0800)]
vold: Stage the mounting of media to hide the ASEC imagefile directory

  In order to protect the '/android_secure' directory on VFAT removable media
from being mucked with by 3rd party applications on the device, we hide the
directory with a read-only, zero-sized tmpfs mounted on-top. A reference to the
hidden directory is kept by a bind-mount which is mounted at a location which
only root can access.

Staging consists of:
  1. Mount checked media at a secure location (/mnt/secure/staging)
  2. Ensure /android_secure exists on the media, (creating if it doesnt)
  3. Bind-mount /mnt/secure/staging/android_secure -> /mnt/secure/asec
     (where only root can access it)
  4. Mount an RDONLY zero-sized tmpfs over /mnt/secure/staging/android_secure
  5. Atomically move /mnt/secure/staging to the publicly accessable storage
     directory (/mnt/sdcard)

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Clean up asec command response and add support for 'StorageBusy'
San Mehat [Thu, 18 Feb 2010 19:40:49 +0000 (11:40 -0800)]
vold: Clean up asec command response and add support for 'StorageBusy'

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add 'force' option to anything that can cause an unmount
San Mehat [Thu, 18 Feb 2010 17:00:18 +0000 (09:00 -0800)]
vold: Add 'force' option to anything that can cause an unmount

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Don't allow containers < 1mb, and clean up some logging
San Mehat [Thu, 18 Feb 2010 16:37:45 +0000 (08:37 -0800)]
vold2: Don't allow containers < 1mb, and clean up some logging

Signed-off-by: San Mehat <san@google.com>
14 years agoCheck length of filenames before strcat
Kenny Root [Thu, 18 Feb 2010 17:34:07 +0000 (09:34 -0800)]
Check length of filenames before strcat

Just in case someone tries to set up a series of links to trick us, do a
quick sanity check on the total length of the strings we're about to
concatenate.

Change-Id: Iba9617008dbc1e93e1907393052caf1e52fbe312

14 years agovold: Refactor Processkiller and add command to return users of a mount point
San Mehat [Wed, 17 Feb 2010 01:12:00 +0000 (17:12 -0800)]
vold: Refactor Processkiller and add command to return users of a mount point

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Fix devmapper/ptmx fd leak, and give asec unmount more time
San Mehat [Sat, 13 Feb 2010 22:19:53 +0000 (14:19 -0800)]
vold: Fix devmapper/ptmx fd leak, and give asec unmount more time

Signed-off-by: San Mehat <san@google.com>
14 years agoam 4468682c: Merge from open-source master
Jean-Baptiste Queru [Thu, 11 Feb 2010 20:20:09 +0000 (12:20 -0800)]
am 4468682c: Merge from open-source master

Merge commit '4468682c7035d431c6154ab298c5ce0f9e2350f8'

* commit '4468682c7035d431c6154ab298c5ce0f9e2350f8':
  new project, first commit

14 years agoMerge from open-source master
Jean-Baptiste Queru [Thu, 11 Feb 2010 19:03:01 +0000 (11:03 -0800)]
Merge from open-source master

14 years agovold: Fix format argument bug
San Mehat [Mon, 8 Feb 2010 23:51:50 +0000 (15:51 -0800)]
vold: Fix format argument bug

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Reduce logspam and add 250ms delay before first unmount attempt
San Mehat [Sat, 6 Feb 2010 17:53:22 +0000 (09:53 -0800)]
vold: Reduce logspam and add 250ms delay before first unmount attempt

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Fix a few bugs
San Mehat [Thu, 4 Feb 2010 23:07:01 +0000 (15:07 -0800)]
vold: Fix a few bugs

 - share command was taking wrong arguments
 - shared command was returning two termination codes
 - Force FAT32 cluster size to 4k when formatting
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Silly rabbit, don't use unlink() when you mean't rmdir()
San Mehat [Wed, 3 Feb 2010 19:04:46 +0000 (11:04 -0800)]
vold: Silly rabbit, don't use unlink() when you mean't rmdir()

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Fix share status argument off by one
San Mehat [Wed, 3 Feb 2010 18:26:40 +0000 (10:26 -0800)]
vold: Fix share status argument off by one

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Don't print error on unknown Netlink event
San Mehat [Wed, 3 Feb 2010 16:50:19 +0000 (08:50 -0800)]
vold2: Don't print error on unknown Netlink event

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Bloat reduction
San Mehat [Fri, 29 Jan 2010 13:15:16 +0000 (05:15 -0800)]
vold: Bloat reduction
Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add support for renaming secure containers
San Mehat [Sat, 23 Jan 2010 16:17:06 +0000 (08:17 -0800)]
vold: Add support for renaming secure containers

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: update some debugging
San Mehat [Sat, 23 Jan 2010 15:21:21 +0000 (07:21 -0800)]
vold2: update some debugging

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Don't fail to return path if volume isn't mounted
San Mehat [Fri, 22 Jan 2010 22:48:31 +0000 (14:48 -0800)]
vold: Don't fail to return path if volume isn't mounted

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add command to unmount secure containers
San Mehat [Mon, 18 Jan 2010 14:19:40 +0000 (06:19 -0800)]
vold: Add command to unmount secure containers

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Unmount secure containers when the underlying media is removed.
San Mehat [Fri, 15 Jan 2010 17:26:28 +0000 (09:26 -0800)]
vold: Unmount secure containers when the underlying media is removed.

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Fix issue with destroying / unmounting asec
San Mehat [Tue, 12 Jan 2010 23:38:59 +0000 (15:38 -0800)]
vold2: Fix issue with destroying / unmounting asec

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Fix a mb -> sector conversion refactor bug
San Mehat [Mon, 11 Jan 2010 18:03:24 +0000 (10:03 -0800)]
vold2: Fix a mb -> sector conversion refactor bug

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Rename the C in ASEC to Container
San Mehat [Mon, 11 Jan 2010 17:19:15 +0000 (09:19 -0800)]
vold: Rename the C in ASEC to Container

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Internally use sector counts for asec lengths
San Mehat [Mon, 11 Jan 2010 17:17:25 +0000 (09:17 -0800)]
vold: Internally use sector counts for asec lengths

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Add encrypted ASEC support via devmapper
San Mehat [Sun, 10 Jan 2010 21:02:12 +0000 (13:02 -0800)]
vold: Add encrypted ASEC support via devmapper

- Supports up to 4096 containers
- Keys are now implemented - specifying a key of 'none' means no encryption.
  Otherwise, the key must be a string of 32 characters

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Increase max supported loop devices to 255
San Mehat [Sat, 9 Jan 2010 20:24:05 +0000 (12:24 -0800)]
vold: Increase max supported loop devices to 255

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Always format FAT32
San Mehat [Sat, 9 Jan 2010 20:23:47 +0000 (12:23 -0800)]
vold: Always format FAT32

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Use process-killer when unmounting asec containers
San Mehat [Sat, 9 Jan 2010 15:08:06 +0000 (07:08 -0800)]
vold: Use process-killer when unmounting asec containers

Signed-off-by: San Mehat <san@google.com>
14 years agovold: Temporarily disable asec mountpoint permissions
San Mehat [Fri, 8 Jan 2010 20:31:44 +0000 (12:31 -0800)]
vold: Temporarily disable asec mountpoint permissions

Signed-off-by: San Mehat <san@google.com>
14 years agoAdd missing library used by the main executable in linker options. Currently
Doug Kwan [Thu, 7 Jan 2010 21:54:17 +0000 (13:54 -0800)]
Add missing library used by the main executable in linker options.  Currently
the library is implicit added via inter-library dependency.

14 years agovold: Don't freak out if an asec mountpoint already exists
San Mehat [Thu, 7 Jan 2010 20:12:50 +0000 (12:12 -0800)]
vold: Don't freak out if an asec mountpoint already exists

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Enable support for custom mount perm masks and wire to asec
San Mehat [Thu, 7 Jan 2010 03:19:46 +0000 (19:19 -0800)]
vold2: Enable support for custom mount perm masks and wire to asec

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Initial support for Android Secure External Caches
San Mehat [Wed, 6 Jan 2010 18:33:53 +0000 (10:33 -0800)]
vold2: Initial support for Android Secure External Caches

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Don't crap out if the kernel is missing the NPART/PARTN blkdev uevent patches
San Mehat [Mon, 4 Jan 2010 22:03:36 +0000 (14:03 -0800)]
vold2: Don't crap out if the kernel is missing the NPART/PARTN blkdev uevent patches

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Refactor FAT support into a separate class
San Mehat [Mon, 4 Jan 2010 18:09:16 +0000 (10:09 -0800)]
vold2: Refactor FAT support into a separate class

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Don't bail out if the UMS switch isn't there
San Mehat [Mon, 4 Jan 2010 16:30:00 +0000 (08:30 -0800)]
vold2: Don't bail out if the UMS switch isn't there

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Don't build for simulator
San Mehat [Sun, 3 Jan 2010 16:59:37 +0000 (08:59 -0800)]
vold2: Don't build for simulator

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Manually bootstrap the ums switch since switch kernel uevents are broken
San Mehat [Tue, 22 Dec 2009 16:32:33 +0000 (08:32 -0800)]
vold2: Manually bootstrap the ums switch since switch kernel uevents are broken

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Enable in build
San Mehat [Mon, 21 Dec 2009 20:29:55 +0000 (12:29 -0800)]
vold2: Enable in build

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Get mounting/unmounting/formatting/sharing working
San Mehat [Sun, 13 Dec 2009 18:40:18 +0000 (10:40 -0800)]
vold2: Get mounting/unmounting/formatting/sharing working

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Some more work on partitioning support
San Mehat [Wed, 21 Oct 2009 18:06:52 +0000 (11:06 -0700)]
vold2: Some more work on partitioning support

Signed-off-by: San Mehat <san@google.com>
14 years agovold2: Wire up more of the mount function
San Mehat [Mon, 12 Oct 2009 23:29:01 +0000 (16:29 -0700)]
vold2: Wire up more of the mount function

Signed-off-by: San Mehat <san@android.com>
14 years agonew project, first commit
android-build SharedAccount [Mon, 12 Oct 2009 22:03:44 +0000 (15:03 -0700)]
new project, first commit

14 years agovold2: Rename DeviceVolume -> DirectVolume
San Mehat [Mon, 12 Oct 2009 21:57:05 +0000 (14:57 -0700)]
vold2: Rename DeviceVolume -> DirectVolume

Signed-off-by: San Mehat <san@android.com>
14 years agovold2: Add block device udev bootstrapping
San Mehat [Mon, 12 Oct 2009 21:51:52 +0000 (14:51 -0700)]
vold2: Add block device udev bootstrapping

Signed-off-by: San Mehat <san@android.com>
14 years agovold2: DeviceVolume: Add pending partition support
San Mehat [Mon, 12 Oct 2009 21:48:47 +0000 (14:48 -0700)]
vold2: DeviceVolume: Add pending partition support

Signed-off-by: San Mehat <san@android.com>
14 years agovold2: Refactor the netlink event handling and better define how partitions/disks...
San Mehat [Mon, 12 Oct 2009 18:32:47 +0000 (11:32 -0700)]
vold2: Refactor the netlink event handling and better define how partitions/disks are handled

Signed-off-by: San Mehat <san@android.com>
14 years agosystem: vold2: Initial skeleton for vold2.
San Mehat [Sun, 11 Oct 2009 00:22:08 +0000 (17:22 -0700)]
system: vold2: Initial skeleton for vold2.

  Let there be light.

Signed-off-by: San Mehat <san@android.com>
14 years agoEmpty starting point
Jean-Baptiste Queru [Fri, 9 Oct 2009 00:03:52 +0000 (17:03 -0700)]
Empty starting point