View Single Post
Posts: 1 | Thanked: 0 times | Joined on Jan 2009
#11
Hi all,
I'm a newbie with a 770. I've just set up booting into OS2007HE from MMC. When I plug the device into my linux pc via usb, it mounts my root file system on the MMC, as mentioned in this thread. However, when I look at /usr/sbin/osso-usb-mass-storage-enable.sh it does not seem to match the description above.
Is there an alternate way to keep the root filesystem from mounting on a 770 and 2007HE?
Here are the contents of /usr/sbin/osso-usb-mass-storage-enable.sh on my tablet:
#!/bin/sh
DIR=/mnt/initfs/lib/modules/current
if [ -f $DIR/g_file_storage.ko ]; then
DIR=/lib/modules/current
exec chroot /mnt/initfs /sbin/insmod $DIR/g_file_storage.ko stall=0 file=/dev/mmcblk0
else
DIR=/lib/modules/`uname -r`
exec chroot /mnt/initfs /sbin/insmod $DIR/g_file_storage.ko stall=0 file=/dev/mmcblk0
fi
Any help would be greatly appreciated. Thanks in advance!