Re: [OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-28 Thread hongxu
On 5/27/20 6:40 PM, hongxu wrote: On 5/27/20 5:52 PM, Richard Purdie wrote: On Mon, 2020-05-25 at 11:06 +0800, hongxu wrote: In initramfs-framework, before swith_root rootfs, if udev have time to run (before being killed), it will invoke hook mount.sh (which is provided by udev-extraconf) to

Re: [OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-27 Thread hongxu
On 5/27/20 5:52 PM, Richard Purdie wrote: On Mon, 2020-05-25 at 11:06 +0800, hongxu wrote: In initramfs-framework, before swith_root rootfs, if udev have time to run (before being killed), it will invoke hook mount.sh (which is provided by udev-extraconf) to mount /run/media/XXX. Release the

Re: [OE-core] [PATCH] initramfs-framework/udev: umount /run/media/XXX

2020-05-27 Thread Richard Purdie
On Mon, 2020-05-25 at 11:06 +0800, hongxu wrote: > In initramfs-framework, before swith_root rootfs, if udev have time > to > run (before being killed), it will invoke hook mount.sh (which is > provided > by udev-extraconf) to mount /run/media/XXX. > > Release the mounted disk after udev being