[yocto] Automount issues

Jeremy Overesch Jeremy.Overesch at millerwelds.com
Tue Aug 1 07:52:14 PDT 2017


I've been trying to get automounting of USB devices working using the udev-extraconf recipe available in yocto.  It appears to work in the mount.sh script, as I can read the contents of the drive.  However, when I try to do so in a command shell, the folder is empty and the drive doesn't show as mounted.  Also, even though it isn't mounted, if I remove the drive and connect it to a windows PC or any other machine, it claims that the file system is "dirty" and needs to be scanned.

In short, it is the *exact* same issue that's happening in this thread, but there isn't a resolution: https://lists.yoctoproject.org/pipermail/yocto/2015-September/026563.html

I've attached the following files:
automount.rules - udev automounting rules
journalctl_output.txt - what the journalctl shows after an insertion
mount.sh - my modified mount.sh script with the printfs
mount.sh.log - output of the mount.sh script for an insertion and removal event
udevadm.test.txt - output from the test output of what would be run for an insertion event
udevadm_monitor.txt - live output of the monitor when inserting a usb stick.

Any help would be greatly appreciated!

________________________________

This message (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. If you are not the intended recipient of this message, you are hereby notified that you must delete the message without disseminating, copying or taking any action in reliance upon it. If you have received this message in error, please notify the sender via return e-mail. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.sh
Type: application/octet-stream
Size: 3062 bytes
Desc: mount.sh
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.sh.log
Type: application/octet-stream
Size: 1463 bytes
Desc: mount.sh.log
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: udevadm.test.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: udevadm_monitor.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: automount.rules
Type: application/octet-stream
Size: 848 bytes
Desc: automount.rules
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment-0002.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: journalctl_output.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/aa94791c/attachment-0002.txt>


More information about the yocto mailing list