[systemd-devel] Device nodes not created after update
Mantas Mikulėnas
grawity at gmail.com
Thu Feb 20 10:21:18 UTC 2025
Device nodes in /dev are created directly by the kernel. If they're
missing, that most likely means you don't have the *kernel drivers*
(modules) for that type of USB device – e.g. because you're still running
kernel 6.12.x so it is trying to load 'USB storage' modules from
/lib/modules/6.12.x, but of course you no longer have a /lib/modules/6.12.x
as you upgraded the whole package to 6.13.y instead.
For Arch, install the "kernel-modules-hook" package so that it retains a
copy of the running kernel's modules even after an upgrade.
On Thu, Feb 20, 2025 at 11:45 AM Morten Bo Johansen <mortenbo at hotmail.com>
wrote:
> Hi,
>
> I am on Arch Linux and strangely after updating e.g. the kernel, device
> nodes (/dev/sdb1, etc.) for removable devices such as usb disks are no
> longer created when I plug in the disk. If I reboot, they are created
> again.
>
> Is there a systemd command I can run after upgrading, so the device nodes
> are created without me having to reboot?
>
> Thanks,
> Morten
>
>
>
--
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250220/d9b3afc3/attachment.htm>
More information about the systemd-devel
mailing list