![]() |
2011-04-04
, 16:07
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#2
|
I want to reformat the internal mmc2 to ext3 to allow setting rights, etc.
But this file /usr/sbin/mmc-mount contains a hard reference to fat32.
How can I change this so that mmc1 is fat32 and mmc is ext3 to prevent automounting an ext3 partition as fat32 ?Code:#!/bin/sh mount -t vfat -o rw,noauto,nodev,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0033 "$1" "$2"
if [ "$1" == "/dev/mmcblk0p1" ]; then mount -t ext3 -o noatime,nodiratime "$1" "$2" else mount -t vfat ..... fi
if [ "$(file -s $1|grep ext3)" ]; then .... fi
The Following User Says Thank You to maacruz For This Useful Post: | ||
But this file /usr/sbin/mmc-mount contains a hard reference to fat32.
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125