[systemd-devel] systemd blocks update kernel partition table

Mantas Mikulėnas grawity at gmail.com
Thu Nov 22 11:26:20 UTC 2018


On Thu, Nov 22, 2018 at 12:39 PM Eberhard Stoll <e-stl at gmx.de> wrote:

> It seems nothing from userspace holds the partitions. Is there a
> possibility for a 'hidden' mount or ext4 fs driver occupies the device
> nodes?
>

It could be that they remain mounted within another mount namespace. You
don't have any weird udev rules which call `mount`, do you?

If you have a recent util-linux, run `sudo lsns -t mnt` to see live
namespaces. For each non-kernel process ID in the list, run something like
`findmnt -F /proc/$PID/mountinfo` (or `cat` the file). If you don't, then
`grep mmcblk1 /proc/*/mountinfo` should do the job as well.

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181122/32e9a50a/attachment.html>


More information about the systemd-devel mailing list