Reply
Thread Tools
Posts: 5 | Thanked: 1 time | Joined on Aug 2008 @ Spain
#1
Hi, n810 with diablo on internal card.

I have got an 8Gb miniSD card, formated it:
Code:
/dev/mmcblk1p1          0+   7937    7938-    500062+  82  Linux swap / Solaris
/dev/mmcblk1p2       7938   47621   39684    2500092   83  Linux
/dev/mmcblk1p3      47622   79368   31747    2000061   83  Linux
/dev/mmcblk1p4      79369  131444   52076    3280788   83  Linux
installed deblet on /dev/mmcblk1p2, so far, so good.

As I want to add space to the diablo on internal card, I removed the mmc1 as vfat line in /etc/fstab, and add this one:

Code:
/dev/mmcblk1p4  /home/user/tmp/ ext3 defaults   0 0
added

Code:
insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext3.ko
to /etc/init.d/rcS and reboot.

No luck, the whole 7,9 Gb are mounted as vfat. I have to umount /media/mmc1 and then mount /home/user/tmp.

Greping /etc I've found that /etc/osso-af-init/af-defines.sh have this line:
Code:
 export MMC_MOUNTPOINT='/media/mmc1' MMC_DEVICE_FILE='/dev/mmcblk0p1'
and this confuses me, as mmcblk0p1 is my vfat partition on internal card.

Question is, how I get rid of this vfat mount?

Thanks in advance.
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#2
use mount command!

mine shows /dev/mmcblk0p1 on /media/mmc2
 
Posts: 5 | Thanked: 1 time | Joined on Aug 2008 @ Spain
#3
Originally Posted by nhanquy View Post
use mount command!

mine shows /dev/mmcblk0p1 on /media/mmc2
mine shows the same, but the problem is with the external card, mounted as vfat as a whole partition.

If I comment out the export MMC_MOUNTPOINT in af-defines.sh, boot fails.

So, is /etc/fstab useless? Is my best option make a script that umount /media/mmc1 and mount /home/user/tmp?

To cut a long story short: I've got
Code:
/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,uid=29999,fmask=0133,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,uid=29999,fmask=0133,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
and I want
Code:
/dev/mmcblk0p1 on /media/mmc2 type vfat (rw,nosuid,nodev,noexec,noatime,nodiratime,uid=29999,fmask=0133,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)
/dev/mmcblk1p4 on /home/user/tmp type ext3 (rw,data=ordered)
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#4
Originally Posted by rinkinflinkis View Post
So, is /etc/fstab useless?
yes, it is not used, never was on tablets, this bogus file just confuses people

Originally Posted by rinkinflinkis View Post
Is my best option make a script that umount /media/mmc1 and mount /home/user/tmp?
Not sure about the 'best' part but yes. You may also try to hack /usr/sbin/osso-mmc-* and /usr/sbin/mmc-*mount scripts.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:50.