OpenWrt Forum Archive

Topic: How to automount detected sd/mmc card - CC 15.05.1

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am looking for a hotplug script that automounts the detected sd/mmc card.

Rgds,

See https://wiki.openwrt.org/doc/howto/usb.storage and https://wiki.openwrt.org/doc/uci/fstab.

Using the UUID of your sd-card you can define where it mounts. Use blkid to determine UUID or tune2fs to set it.

Then see https://wiki.openwrt.org/doc/uci/fstab# … figuration and https://wiki.openwrt.org/doc/uci/fstab#automount to configure /etc/config/fstab to define an entry.

And also http://dp.nonoo.hu/using-a-flash-drive-with-openwrt/

By the way: this is not a developer's question.

Good luck

The discussion might have continued from here.