I think you can use UDEV to mount the SD card automatically.

On Saturday, August 12, 2017 at 3:06:58 PM UTC+3, Fohnbit wrote:
>
> Hello
>
> I want to use the free sd-card for storage.
>
> I boot with eMMC, so the sd-card is free
>
> I mount the card at startup with fstab:
> /dev/mmcblk0p1 /media/card auto auto,rw,async,user,nofail 0 0
>
>
> But when I remove the sd-card and insert again, the mount is broken?
>
> How can i setup a hit plug function?
>
> When a sd card is inserted, it sould mount to /media/card
>
> Thank you!
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b3a934ee-e4fb-43ae-bc6c-1309a9bf0388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to