Skip to contentSkip to conversation

hotplug-ng for automount

DISCUSSION Kristian Mueller 4 participants 4 messages Dec 7, 2005

lore
Share & tools
lore
#0 lore raw

Hi

My task is to automount mmc/sd cards in a sysfs enabled 2.6.12 (sd-patched) embedded environment.

Do you think it is a good idea to take hotplug-ng and add a module for the mmc driver which mounts the device after the possible modprobe?

Or is there an other/better way to do this.

Best Regards
Kristian

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 2 lines · Kristian Mueller

Do you think it is a good idea to take hotplug-ng and add a module for the mmc driver which mounts the device after the possible modprobe?

hotplug-ng is dead, use udev.

Signature · 2 lines
ciao,
Marco
#2 lore raw
In reply to Kristian Mueller
Quoted 9 lines · Kristian Mueller

Hi

My task is to automount mmc/sd cards in a sysfs enabled 2.6.12 (sd-patched) embedded environment.

Do you think it is a good idea to take hotplug-ng and add a module for the mmc driver which mounts the device after the possible modprobe?

Or is there an other/better way to do this.

As an example of mounting/umounting a flash drive, there's a sample udev entry and a sample script to mount and unmount at
<http://www.disaggregate.com/blog/technicalweblog/>.

Signature · 14 lines
Moshe Yudkowsky * [email protected] * www.pobox.com/~moshe
  "You may not be interested in war, but war is interested in you."
    				-- Leon Trotsky


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#3 lore raw
In reply to Kristian Mueller
Quoted 9 lines · Kristian Mueller

Hi

My task is to automount mmc/sd cards in a sysfs enabled 2.6.12 (sd-patched) embedded environment.

Do you think it is a good idea to take hotplug-ng and add a module for the mmc driver which mounts the device after the possible modprobe?

Or is there an other/better way to do this.

As an example of mounting/umounting a flash drive, there's a sample udev entry and a sample script to mount and unmount at
<http://www.disaggregate.com/blog/technicalweblog/>.

Best,
Moshe

Signature · 14 lines
  Moshe Yudkowsky
  work: http://www.Disaggregate.com
  book: http://www.PebbleAndAvalanche.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel