[yocto] [systemd-devel] How to automount

Paul D. DeRocco pderocco at ix.netcom.com
Tue Sep 22 17:22:46 PDT 2015


> From: Fred Ollinger [mailto:Fred.Ollinger at seescan.com] 
> 
> You can see what udev thinks it will do for a given drive by using:
> 
>  $ udevadm test /sys/block/sdb1
> 
> Given that your drive is in /sys/block/sdb1 (could be sda1, etc).

It's definitely running mount.sh, and the mount succeeds. Yet something is
subsequently unmounting it, and it's not the "remove" code at the end of
mount.sh. If I rename /bin/umount to something else, then the mount
remains intact. Do you or anyone have any ideas on how I might figure out
what is invoking "umount" right after the drive is mounted?

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com




More information about the yocto mailing list