Re: Device nodes not created after update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux