Commit Graph

46 Commits

Author SHA1 Message Date
Jean-Baptiste Queru 50717d3ca8 merge from open-source master 2009-08-21 10:19:14 -07:00
San Mehat e36c153e25 system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
2009-08-21 09:38:51 -07:00
San Mehat 6d51d9ca81 system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
2009-08-21 08:35:54 -07:00
Ben Winslow 227c74af84 vold: Check partitions 1-4 instead of 0-3
In mmc_bootstrap_mmcblk, bootstrap partitions 1-4 instead of 0-3, since
that's how the kernel labels them.  Additionally, use the NDOSPART constant
from diskmbr.h instead of hardcoding 4 when scanning partitions.
2009-08-15 10:09:34 -04:00
San Mehat 6b001d8667 am 1f278215: vold: If we\'re bootstrapping, don\'t automatically mount the SD card. Also fixes some error display bugs (our printf doesnt support %m)
Merge commit '1f27821568065715d3235c0e690c42d0d7a413bc'

* commit '1f27821568065715d3235c0e690c42d0d7a413bc':
  vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
2009-07-17 02:09:08 -07:00
San Mehat c0334b18c5 am d8221d98: vold: vfat: Run up to 3 passes of the disk checker when the checker indicates the FS has been modified. Also create LOST.DIR if it doesn\'t exist on mount.
Merge commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa'

* commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa':
  vold: vfat: Run up to 3 passes of the disk checker when the checker
2009-07-17 02:08:59 -07:00
San Mehat a27bd2c768 am b6e70d87: vold: Allow a damaged volume to be re-evaluated for mounting
Merge commit 'b6e70d877886bf363c5789456dcc00bb3f271c95'

* commit 'b6e70d877886bf363c5789456dcc00bb3f271c95':
  vold: Allow a damaged volume to be re-evaluated for mounting
2009-07-17 02:08:57 -07:00
San Mehat 1f27821568 vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
error display bugs (our printf doesnt support %m)

Signed-off-by: San Mehat <san@google.com>
2009-07-16 11:41:33 -07:00
San Mehat d8221d9869 vold: vfat: Run up to 3 passes of the disk checker when the checker
indicates the FS has been modified. Also create LOST.DIR if it doesn't
exist on mount.

Signed-off-by: San Mehat <san@google.com>
2009-07-16 09:34:53 -07:00
San Mehat b6e70d8778 vold: Allow a damaged volume to be re-evaluated for mounting
Signed-off-by: San Mehat <san@google.com>
2009-07-16 07:29:35 -07:00
San Mehat 192d1d79f7 am b3edd072: vold: Change the disk formatter we use + fix commandline argument creation
Merge commit 'b3edd0720ea26ef02763e7446d1bafb85546b38e'

* commit 'b3edd0720ea26ef02763e7446d1bafb85546b38e':
  vold: Change the disk formatter we use + fix commandline argument creation
2009-07-06 12:43:21 -07:00
San Mehat b3edd0720e vold: Change the disk formatter we use + fix commandline argument creation
Signed-off-by: San Mehat <san@google.com>
2009-07-06 11:33:45 -07:00
San Mehat 79258b8b5a am 9ad18f05: vold: Kill logspam
Merge commit '9ad18f0576f1945419d31b56fea6987210521c35'

* commit '9ad18f0576f1945419d31b56fea6987210521c35':
  vold: Kill logspam
2009-07-01 22:44:48 -07:00
San Mehat 9ad18f0576 vold: Kill logspam
Signed-off-by: San Mehat <san@google.com>
2009-06-30 18:15:09 -07:00
San Mehat 3b84e4760b am 9f9c951a: vold: Force formatting of cards to FAT32
Merge commit '9f9c951ad3329a4d8bc84b48a2b125a67ba9979f'

* commit '9f9c951ad3329a4d8bc84b48a2b125a67ba9979f':
  vold: Force formatting of cards to FAT32
2009-06-29 20:20:28 -07:00
San Mehat 9f9c951ad3 vold: Force formatting of cards to FAT32
Signed-off-by: San Mehat <san@google.com>
2009-06-27 09:59:46 -07:00
San Mehat 112ad56038 am c3115b9e: vold: Logging to catch when the disk checker crashes (could happen due to a really messed up card)
Merge commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338'

* commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338':
  vold: Logging to catch when the disk checker crashes
2009-06-25 14:34:01 -07:00
San Mehat 156f9c5e6b am 1537d480: vold: Fix bug where logwrapper would pass data to LOG() in the format field, which caused vsprintf to process format characters in the string.
Merge commit '1537d4805ef98a385c61c659f0e778b7074bbbfe'

* commit '1537d4805ef98a385c61c659f0e778b7074bbbfe':
  vold: Fix bug where logwrapper would pass data to LOG() in the format field,
2009-06-25 14:34:00 -07:00
San Mehat c3115b9ec2 vold: Logging to catch when the disk checker crashes
(could happen due to a really messed up card)

Signed-off-by: San Mehat <san@google.com>
2009-06-25 13:34:16 -07:00
San Mehat 1537d4805e vold: Fix bug where logwrapper would pass data to LOG() in the format field,
which caused vsprintf to process format characters in the string.

Signed-off-by: San Mehat <san@google.com>
2009-06-25 13:33:23 -07:00
San Mehat 64e1c16cc5 am e7f444f3: vold: Switch vfat fsck tools
Merge commit 'e7f444f32986f975b788ecf3962cb2cce27828e8'

* commit 'e7f444f32986f975b788ecf3962cb2cce27828e8':
  vold: Switch vfat fsck tools
2009-06-25 09:54:38 -07:00
San Mehat e7f444f329 vold: Switch vfat fsck tools
Signed-off-by: San Mehat <san@google.com>
2009-06-24 19:27:48 -07:00
Android (Google) Code Review 01fa704538 am 47c1d734: Merge change 4051 into donut
Merge commit '47c1d7344ab183f5440843f6b594d1b74a2335b0'

* commit '47c1d7344ab183f5440843f6b594d1b74a2335b0':
  vold: Give logwrapper the ability to put jobs into the background sched group.
2009-06-12 11:44:01 -07:00
San Mehat 825c27d239 vold: Give logwrapper the ability to put jobs into the background sched group.
Also set disk check/format execution to background.

Signed-off-by: San Mehat <san@google.com>
2009-06-12 07:39:52 -07:00
San Mehat efc0c13b52 am f754f740: Revert "Mount SD card synchronous. This is an experimental change intended to"
Merge commit 'f754f740a3e06212836f7465001edb0fe5157ba8'

* commit 'f754f740a3e06212836f7465001edb0fe5157ba8':
  Revert "Mount SD card synchronous. This is an experimental change intended to"
2009-06-02 10:33:28 -07:00
San Mehat f754f740a3 Revert "Mount SD card synchronous. This is an experimental change intended to"
This reverts commit 23eaecf02d.
2009-06-02 10:27:52 -07:00
Android (Google) Code Review 144a6d9bbf am 463de48f: Merge change 2162 into donut
Merge commit '463de48fb05cb29388e7763f75f6cfa56a2f5cb1'

* commit '463de48fb05cb29388e7763f75f6cfa56a2f5cb1':
  Mount SD card synchronous. This is an experimental change intended to
2009-05-20 22:44:12 -07:00
Dave Sparks 23eaecf02d Mount SD card synchronous. This is an experimental change intended to
give us another data point on the system performance regressions that
seem to revolved around SD card access.
2009-05-20 19:12:58 -07:00
San Mehat e78bd6a00d am b76a63b7: vold: Change VFAT mount options to enable sdcard write restrictions
Merge commit 'b76a63b7bbdf8f51c4e689e241fca6d3a0bc1b1c'

* commit 'b76a63b7bbdf8f51c4e689e241fca6d3a0bc1b1c':
  vold: Change VFAT mount options to enable sdcard write restrictions
2009-05-18 13:44:42 -07:00
San Mehat b76a63b7bb vold: Change VFAT mount options to enable sdcard write restrictions
Signed-off-by: San Mehat <san@google.com>
2009-05-18 12:59:13 -07:00
San Mehat 735b60ebc2 am 7edc4f94: vold: If a filesystem is read/only then restart the fscheck but don\'t make any changes
Merge commit '7edc4f9454f1665b73faf0c02543cf350b741a53'

* commit '7edc4f9454f1665b73faf0c02543cf350b741a53':
  vold: If a filesystem is read/only then restart the fscheck but don't make any changes
2009-05-18 11:17:40 -07:00
San Mehat 7edc4f9454 vold: If a filesystem is read/only then restart the fscheck but don't make any changes
Signed-off-by: San Mehat <san@google.com>
2009-05-18 09:55:21 -07:00
Doug Kwan e49f9c9238 Automated import from //branches/master/...@142981,142981 2009-03-26 14:14:15 -07:00
The Android Open Source Project f614d64d4b auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:49 -07:00
The Android Open Source Project e037fd7e19 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:37 -07:00
The Android Open Source Project 2015549667 auto import from //branches/cupcake/...@137873 2009-03-11 12:12:01 -07:00
The Android Open Source Project dd7bc3319d auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
The Android Open Source Project e54eebbf1a auto import from //depot/cupcake/@135843 2009-03-03 18:29:04 -08:00
The Android Open Source Project a1e1c1b106 auto import from //depot/cupcake/@132589 2009-03-03 14:04:41 -08:00
The Android Open Source Project c2d26a164f auto import from //depot/cupcake/@137055 2009-03-02 22:54:47 -08:00
The Android Open Source Project 3e292b9716 auto import from //branches/cupcake/...@132569 2009-02-20 07:38:35 -08:00
The Android Open Source Project 261ed7551e auto import from //branches/cupcake/...@132276 2009-02-19 10:57:36 -08:00
The Android Open Source Project 1b8e5a6b14 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:54 -08:00
The Android Open Source Project 13f797da7f auto import from //branches/cupcake/...@130745 2009-02-10 15:44:07 -08:00
The Android Open Source Project dcf3ce247e auto import from //branches/cupcake/...@127436 2009-01-22 00:13:45 -08:00
The Android Open Source Project 8ac3a13816 auto import from //branches/cupcake/...@127101 2009-01-20 14:04:01 -08:00