[yocto] Automount issues

Ayoub Zaki ayoub.zaki at embexus.com
Tue Aug 1 10:58:29 PDT 2017


Yes ! I had this problem a while ago, I fixed the problem by changing in 
systemd-udev service the mountFlags to shared instead of slave:

here is a link to the mailing list discussion :

https://lists.yoctoproject.org/pipermail/yocto/2015-March/023879.html

-- 

Ayoub Zaki

ayoub.zaki at embexus.com <https://lists.yoctoproject.org/listinfo/yocto>

Mobile: +49(0)176-62901545

Skype: ayoub.zaki_2

https://embexus.com <https://embexus.com/>

On 01.08.2017 19:44, Jeremy Overesch wrote:
> Yes, I am using systemd.  Is there a known issue with it that I should 
> be aware of?
> Hi,
> are you using systemd ?
> On 01.08.2017 16:52, Jeremy Overesch wrote:
> >//
> >/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./
> >//
> >//
>
>
> ------------------------------------------------------------------------
>
> 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.
>
>

-- 

Ayoub Zaki

ayoub.zaki at embexus.com
Mobile: +49(0)176-62901545
Skype: ayoub.zaki_2
https://embexus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170801/1c6f9ff7/attachment.html>


More information about the yocto mailing list