OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: louigi600 on August 11, 2006, 06:48:11 am
-
Although some SD partitions are not even in /etc/fstab they get mounted, along with some that are but have the "noauto" option.
Anyone know:
why this is happening ?
what's responsable for this ?
how to fix it ?
Couls udev or hotplug have anything to do with this ?
Regards
David
-
I believe hotplug controls this...
Late
-
Take a look at /etc/sdcontrol - this handles SD card mounting.
Dan
-
I believe hotplug controls this...
Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138241\"][{POST_SNAPBACK}][/a][/div]
Whitch one of the hotplug scripts would manage the SD automount ?
Take a look at /etc/sdcontrol - this handles SD card mounting.
Dan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138243\"][{POST_SNAPBACK}][/a][/div]
On beta4 there is no such file or directory (I looked system wide with find).
Regards
David
-
I stopped using beta4 a while back... so I do not remember... and I can't find it... Sorry
Late
-
I stopped using beta4 a while back... so I do not remember... and I can't find it... Sorry
Late
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138249\"][{POST_SNAPBACK}][/a][/div]
Well I did a
grep -E "mount|mmc" *
in /etc/hotplug and found nothing that's managing SD card so I guess that in beta4 something elese is managing this ...
I decided to look into udev a little better and found this:
/etc/udev/scripts/mount.sh
So I changed line 64 like this:
[ $(grep -v noauto /etc/fstab |grep -c "^$DEVNAME") -ge 1 ] && mount $DEVNAME
this will not automount lines that have the noauto option in fstab.
but .... who calls this script ? and how is it triggered to do so for the SD ?