Skip to first unread message

Fohnbit

unread,
Aug 12, 2017, 8:06:58 AM8/12/17
to BeagleBoard
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!

Denis Cosmin

unread,
Aug 12, 2017, 8:25:34 AM8/12/17
to BeagleBoard
I think you can use UDEV to mount the SD card automatically.

Fohnbit

unread,
Aug 12, 2017, 8:44:01 AM8/12/17
to BeagleBoard
Hello Denis,

may you have a example? I don´t know how it should work.

Thank you!
Reply all
Reply to author
Forward
0 new messages