diff options
author | Colin McAllister <colinmca242@gmail.com> | 2024-09-14 09:09:33 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-09-25 05:07:47 -0700 |
commit | c7094c4a28ad1134965916466f201b669ee78694 (patch) | |
tree | b15e8b3dbd7b49a87dc091f6e69ecd4dfbbd668f /scripts/pybootchartgui/pybootchartgui.py | |
parent | ae6525ed2ea9f6738ed63d1faa00abc87b8ea10a (diff) | |
download | poky-c7094c4a28ad1134965916466f201b669ee78694.tar.gz |
udev-extraconf: Add collect flag to mount
Adds extra "--collect" flag to the mount command within
automount_systemd. This is intended to fix an observed deadlock after
rapidly inserting and removing external media. This is because if the
mount command fails, the transient mount will enter a failed state. The
next time the media is inserted, automount_systemd bails because the
first consition finds that the file path for the failed transient mount
still exists. This leaves the external media unmounted and cannot be
mounted until the mount is fixed via systemctl or the device is
rebooted.
Adding "--collect" ensures that the transient mount is cleaned up after
entering a failed state, which ensures that the media can still be
mounted when it's re-inserted.
(From OE-Core rev: f0cda74d73eb8c14cd6f695f514108f1e94984a6)
(From OE-Core rev: 33de458b758c2fe430b515ff419dd200ea97ca0b)
Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
0 files changed, 0 insertions, 0 deletions