Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record ghost paths for kmod #288

Open
ikeycode opened this issue Jul 20, 2024 · 0 comments
Open

Record ghost paths for kmod #288

ikeycode opened this issue Jul 20, 2024 · 0 comments

Comments

@ikeycode
Copy link
Member

TLDR when we update a kernel the live VFS "forgets" the old, running kernel. This is partially resolved in Serpent OS by baking vfat into the linux-desktop kernel ensuring that we can always mount ESP & XBOOTLDR.

However for peripherals and general XHCI-land, we still rely on _request_module -> /sbin/depmod interplay. To that end we'll make moss record the ghosted paths of transaction kernel trees under /run which redirect to /.moss/root/$TX/usr/lib/modules/$VERSION. These shortlived redirects will keep hotplugging working until reboot, upon which the tmpfs /run is lost and all redirects are forgotten / unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant