[OE-core] udev/mount.sh: use lazy umount

Khem Raj raj.khem at gmail.com
Mon Oct 17 23:14:27 UTC 2016


On Mon, Oct 10, 2016 at 2:45 PM, Matthijs Vader
<mvader at victronenergy.com> wrote:
> Hi,
>
> umount will fail if there are processes accessing files at the device, use
> lazy umount to avoid this problem.
>
> I found this patch [1] a long long time ago, but don't see it in master now.
>
> Any reason why it was not accepted? Is there any harm in using lazy umount?
>
> I know that it is not a 100% solution, and that it is best to make the user
> trigger an umount before taking a card out. But that will not be done every
> time.
>
> And without lazy unmount, the device will never be unmounted, causing the
> next mount (triggered by an insert) to fail as well.
>
> See also the discussion on our own issue tracker [2].
>
> [1]
> http://lists.openembedded.org/pipermail/openembedded-devel/2010-June/066241.html

I guess we missed it when we started OE-Core project out of classic OE
if you prepare and send this patch to OE-core after reviving it. I am sure we
will take a look again.

>
> [2] https://github.com/victronenergy/venus/issues/59
>
> Best regards,
>
> Matthijs
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



More information about the Openembedded-core mailing list