Questions about vold.conf and vold.fstab.

1,320 views
Skip to first unread message

Diego Rondini

unread,
Oct 19, 2010, 7:14:54 AM10/19/10
to android-...@googlegroups.com
Hi everybody,

I'd like to ask some questions about vold, because I could not find any
valuable "official" documentation about it. I know that the sources are in
/system/core/vold/ but having some hints (or pointers to where to look at)
would be nice. So thanks in advance.

What's the difference between vold.conf and vold.fstab? I mean the rationale
betweend the two, e.g.:
- vold.conf was supported from 1.5 to 1.6 but not it's deprecated because it
cannot mount multiple partitions;
- they are both supported from 1.5 but they are used for different use cases
(e.g. vold.fstab to mount multiple partitions...).

So, although all my google searches, it's still not clear to me what vold.conf
and vold.fstab can and cannot do, from what versions they are supported (I
found this vold.fstab that refers to a 2.0 vold version:
http://pastebin.com/kfekvKbt ), and what's the reccomended way to mount
automatically devices / partitions.

Thank you,
regards,
Diego

Chih-Wei

unread,
Oct 19, 2010, 9:59:13 PM10/19/10
to android-platform
vold.conf is the config file for old vold,
shipped since 1.5(?) to 2.1.
The source code is located in system/core/vold.

vold.fstab is the config for new vold (aka vold2),
shipped in 2.2.
The source code is located in system/vold.
(system/core/vold is removed in froyo tree).
The format of vold.fstab is easy to be understood,
and explained in the example vold.fstab
(system/core/rootdir/etc/vold.fstab)

On 10月19日, 下午7時14分, Diego Rondini <diego.rond...@kynetics.it> wrote:
> Hi everybody,
>
> I'd like to ask some questions about vold, because I could not find any
> valuable "official" documentation about it. I know that the sources are in
> /system/core/vold/ but having some hints (or pointers to where to look at)
> would be nice. So thanks in advance.
>
> What's the difference between vold.conf and vold.fstab? I mean the rationale
> betweend the two, e.g.:
> - vold.conf was supported from 1.5 to 1.6 but not it's deprecated because it
> cannot mount multiple partitions;
> - they are both supported from 1.5 but they are used for different use cases
> (e.g. vold.fstab to mount multiple partitions...).
>
> So, although all my google searches, it's still not clear to me what vold.conf
> and vold.fstab can and cannot do, from what versions they are supported (I
> found this vold.fstab that refers to a 2.0 vold version:http://pastebin.com/kfekvKbt), and what's the reccomended way to mount
> automatically devices / partitions.

Diego

unread,
Oct 20, 2010, 4:06:31 AM10/20/10
to android-platform
Thank you so much for the informations provided!

On Oct 20, 3:59 am, Chih-Wei <cwhu...@android-x86.org> wrote:
> vold.fstab is the config for new vold (aka vold2),
> shipped in 2.2.
>

Ok, so the "Android Volume Daemon version 2.0" I get on Android 1.6
actually means "vold1 version 2.0"; while on Android 2.2 there's
"vold2 version whatever", right?

> The format of vold.fstab is easy to be understood,
> and explained in the example vold.fstab
> (system/core/rootdir/etc/vold.fstab)
>

Ok, vold.fstab is clear to me. I don't understand if using vold1 (with
corresponding configuration file vold.conf) allows to automatically
mount multiple partitions on the same device.

Regards,
Diego

shri

unread,
Oct 23, 2010, 8:36:47 PM10/23/10
to android-platform
Is vold.conf required in froyo? Can it be discarded?

Diego

unread,
Oct 25, 2010, 6:16:52 AM10/25/10
to android-platform
On Oct 24, 2:36 am, shri <shrira...@gmail.com> wrote:
> Is vold.conf required in froyo? Can it be discarded?
>

I guess that vold.conf doesn't work any more starting from Froyo
according to what Chih-Wei wrote.

Regards,
Diego
Reply all
Reply to author
Forward
0 new messages