summaryrefslogtreecommitdiffstats
path: root/vold/volmgr_vfat.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-11 12:12:01 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-11 12:12:01 -0700
commit2015549667fb77706a9879e974a3875ebccd8198 (patch)
treef21d3e039e9d7743dcd7964b5b79011e64a97a88 /vold/volmgr_vfat.c
parente4749f30e5bd8cec727a6d7504b10fc80426316a (diff)
downloadsystem_core-2015549667fb77706a9879e974a3875ebccd8198.zip
system_core-2015549667fb77706a9879e974a3875ebccd8198.tar.gz
system_core-2015549667fb77706a9879e974a3875ebccd8198.tar.bz2
auto import from //branches/cupcake/...@137873
Diffstat (limited to 'vold/volmgr_vfat.c')
-rw-r--r--vold/volmgr_vfat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vold/volmgr_vfat.c b/vold/volmgr_vfat.c
index 1dc4c8d..b08e6a5 100644
--- a/vold/volmgr_vfat.c
+++ b/vold/volmgr_vfat.c
@@ -116,14 +116,14 @@ int vfat_mount(blkdev_t *dev, volume_t *vol, boolean safe_mode)
}
rc = mount(devpath, vol->mount_point, "vfat", flags,
- "utf8,uid=1000,gid=1000,fmask=711,dmask=700");
+ "utf8,uid=1000,gid=1000,fmask=711,dmask=700,shortname=mixed");
if (rc && errno == EROFS) {
LOGE("vfat_mount(%d:%d, %s): Read only filesystem - retrying mount RO",
dev->major, dev->minor, vol->mount_point);
flags |= MS_RDONLY;
rc = mount(devpath, vol->mount_point, "vfat", flags,
- "utf8,uid=1000,gid=1000,fmask=711,dmask=700");
+ "utf8,uid=1000,gid=1000,fmask=711,dmask=700,shortname=mixed");
}
#if VFAT_DEBUG