首先你必须有Root
使用超级终端Terminal
需要busybox内核支持iso9660,udf文件系统
可通过
#cat /proc/filesystems
root@android /]# cat
/proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev cpuset
nodev tmpfs
nodev devtmpfs
nodev binfmt_misc
nodev debugfs
nodev securityfs
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev devpts
ext3
ext4
nodev ramfs
nodev hugetlbfs
iso9660
nodev autofs
nodev mqueue
nodev selinuxfs
nodev fuse
fuseblk
nodev fusectl
nodev vmhgfs
nodev vmblock
查看系统支持的文件系统类型
如果内核不支持,需要重新编译内核,或者加载相应的内核模块
#insmod udf.ko ;蓝光DVD需要,mount时也可不设定-t 参数,由系统自动判别。
#insmod
isofs.ko ;CD/DVD需要。
挂载:
sudo mkdir /mnt/mycdrom
sudo mount /mnt/sdcard/test.iso /mnt/mycdrom/ -t iso9660
-o loop
卸载:
sudo umount /mnt/mycdrom/
====================================================
在三星平板Galaxy P7500成功实现:
Android 3.1, linux Kernel 2.6.36.4
需要insmod加载以下模块:
isofs.ko
crc-itu-t.ko
udf.ko
#/system/xbin/mount -o loop
/../..iso /mnt/mycdrom
呵呵,平板上可以直接看DVD,HD蓝光高清碟片ISO镜像啦!!!
=====================================================
在Nokia N900下的另一个成功例子:
You can try to download and insmod this:
http://my.arava.co.il/~matan/770/n900/isofs.ko
Without the module, the mount failed
Nokia-N900-42-11:/media# mount -o loop /home/user/sample.iso
/media/isos
mount: mounting /dev/loop0 on /media/isos failed: Invalid
argument
After inserting the module, I was able to mount the iso
easily.
Nokia-N900-42-11:/media# insmod /home/user/isofs.ko
Nokia-N900-42-11:/media# mount -o loop /home/user/sample.iso
/media/isos
Nokia-N900-42-11:/media#
Another solution is to run with Titan's Power Kernel which has
support for iso9660 file systems. there you would mount your .iso
like this,
mount -t iso9660 -o loop /media/mmc1/foobar.iso
/mnt/cdrom