Author Topic: Generic Pdaxrom Beta4 Question  (Read 2457 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Generic Pdaxrom Beta4 Question
« 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
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Generic Pdaxrom Beta4 Question
« Reply #1 on: August 11, 2006, 08:10:13 am »
I believe hotplug controls this...

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
Generic Pdaxrom Beta4 Question
« Reply #2 on: August 11, 2006, 08:16:15 am »
Take a look at /etc/sdcontrol - this handles SD card mounting.

Dan
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Generic Pdaxrom Beta4 Question
« Reply #3 on: August 11, 2006, 08:23:49 am »
Quote
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 ?

Quote
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
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Generic Pdaxrom Beta4 Question
« Reply #4 on: August 11, 2006, 08:27:13 am »
I stopped using beta4 a while back... so I do not remember... and I can't find it... Sorry

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Generic Pdaxrom Beta4 Question
« Reply #5 on: August 11, 2006, 08:35:54 am »
Quote
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 ?
« Last Edit: August 11, 2006, 09:48:53 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing