Specifying SD card mount options upon boot I have an Archos 101IT with a 16G external SD card. The SD card contains one partition that is formatted as an ext3 file system. The Archos runs UrukDroid 1.6.4 (Froyo 2.2).

The Problem: When booted, the SD card is mounted with the following mount options:

/dev/block/vold/179:17 on /mnt/storage/sdcard type ext3
(rw,nosuid,nodev,noexec,noatime,nodiratime,fmode=0666,dmode=0666,errors=continue,data=ordered)


The fmode and dmode options make it impossible to use file permissions, in particular it is not possible to make files read-only. This is needed by the Titanium Backup tool to protect backups from being overwritten.

I can change the mount options with a remount:

# mount /mnt/storage/sdcard -o remount,fmode=0,dmode=0


The Question: How can I have the SD card mounted with the right mount options upon boot?
Urukdroid has a special script, /system/bin/mount_sdcard.sh, that mounts the SD card upon boot. This script understands (V)FAT and EXT4. Anything else is left to the vold automounter. Archos modded vold so it could do a bit more than stock A 2.1 vold, e.g., mount EXT3 file systems.

I upgraded the file system on the SD card to EXT4, and now mount_sdcard.sh mounts the SD card upon boot with the correct mount options.

Thanks to $aur0n for helping me solve this.

Upgrading an EXT2 or EXT3 file system to EXT4 is easy, see https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4 .