USB Automount On BeagleBone Black

Hi Robert,

I followed several examples how to setup automounting for USB drive, but they all failed to mount a usb as a completion. I used the scripts, which work on a Ubuntu device, but not on the BBBw. The issue seems having something to do with the BeagleBone Black O/S. I am not sure what it is. The mounting scripts are called through the auto-mount rules. But it only creates the mount point path folder, and under the folder is empty without any data files and folders in the USB drive mounted.
image

I am not sure what steps or rights are missing.
I can upload the scripts I used, or provide you with udev events, and other messages.

Best Regards,

David

Hi Robert,

Found the link that provides the solution:

Best Regards,
David

Hi David,

That is a nice option. I know most of the window managers will auto-mount usb media.
But for a console/terminal setup, there really isn’t a all in one option.

https://packages.debian.org/sid/pmount

https://packages.debian.org/sid/udiskie

https://packages.debian.org/sid/autofs

Regards,

Hi Robert,
Thank you for the resources posted.
I also added the following line into fstab file:
/dev/sda1 /home/debian/usb ext4 rw,user,exec,auto,nofail 0 0
that will auto mount usb with ext4 partition.
That gives me to run scripts with auto-configuration /setup the system through USB.

Best Regards,
David