/etc/vold.fstab file

514 views
Skip to first unread message

Bruce Beare

unread,
Jul 21, 2010, 6:34:47 PM7/21/10
to android-platform
I'm trying to get an sdcard to mount via vold and am running into a
bit of trouble. I've replaced /etc/vold.conf with /etc/vold.fstab:

dev_mount sdcard /mnt/sdcard 3 /devices/pci0000:00/0000:00:01.0/
mmc_host/mmc0 /devices/pci0000:00/0000:00:02.3/gadget/lun0

I selected "3" instead of "auto" above because that's the VFAT
partition on the sdcard (we're currently booting from SD). Vold
doesn't mount the card and I don't see anything like an error from it.
I ran it with strace (modified /etc/init.rc) and although vold opens /
sys/block, it does not seem to open anything else under /sys (such as /
sys/device/.. as above).

Clearly... I'm missing a key concept here. Is there some documentation
on "howto" use vold?

Also, I see in CommandListenter.cpp that vold has what appears to be a
CLI. How do I send commands to the running daemon?

Thank you,
Bruce

Vinay H

unread,
Jul 22, 2010, 12:12:28 AM7/22/10
to android-...@googlegroups.com
just try putting /devices/pci0000 in the fstab with auto option. it might help.!

On Wed, Jul 21, 2010 at 5:34 PM, Bruce Beare <brucex....@intel.com> wrote:
/devices/pci0000

Anil Sasidharan

unread,
Jul 22, 2010, 1:33:10 AM7/22/10
to android-...@googlegroups.com
Hi,

      Any specific reason to replace vold.conf with vold.fstab?

Warm Regards,
Anil


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.


RaviY

unread,
Jul 22, 2010, 9:17:55 AM7/22/10
to android-platform
FYI: https://review.source.android.com//#change,15835

On Jul 22, 12:33 am, Anil Sasidharan <anil...@gmail.com> wrote:
> Hi,
>
>       Any specific reason to replace vold.conf with vold.fstab?
>
> Warm Regards,
> Anil
>
> On Thu, Jul 22, 2010 at 4:04 AM, Bruce Beare <brucex.j.be...@intel.com>wrote:
>
> > I'm trying to get an sdcard to mount via vold and am running into a
> > bit of trouble. I've replaced /etc/vold.conf with /etc/vold.fstab:
>
> > dev_mount sdcard /mnt/sdcard 3 /devices/pci0000:00/0000:00:01.0/
> > mmc_host/mmc0 /devices/pci0000:00/0000:00:02.3/gadget/lun0
>
> > I selected "3" instead of "auto" above because that's the VFAT
> > partition on the sdcard (we're currently booting from SD). Vold
> > doesn't mount the card and I don't see anything like an error from it.
> > I ran it with strace (modified /etc/init.rc) and although vold opens /
> > sys/block, it does not seem to open anything else under /sys (such as /
> > sys/device/.. as above).
>
> > Clearly... I'm missing a key concept here. Is there some documentation
> > on "howto" use vold?
>
> > Also, I see in CommandListenter.cpp that vold has what appears to be a
> > CLI. How do I send commands to the running daemon?
>
> > Thank you,
> > Bruce
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platfo...@googlegroups.com<android-platform%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages