Page MenuHomeFreeBSD

rc: kldxref only needs to depend on rootfs, not FILESYSTEMS
ClosedPublic

Authored by trasz on Apr 5 2021, 6:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 13 2025, 12:00 AM
Unknown Object (File)
Nov 28 2025, 1:23 AM
Unknown Object (File)
Nov 27 2025, 12:31 PM
Unknown Object (File)
Nov 27 2025, 8:51 AM
Unknown Object (File)
Nov 24 2025, 1:43 PM
Unknown Object (File)
Nov 23 2025, 4:58 AM
Unknown Object (File)
Nov 21 2025, 5:09 AM
Unknown Object (File)
Nov 18 2025, 3:54 AM
Subscribers

Details

Summary

This makes it run a bit earlier in the startup, which will
be useful for the linux rc script later on.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz requested review of this revision.Apr 5 2021, 6:14 PM

We need to update /boot/$kernel/linker.hints. This is necessarily on /, so this should be fine.
For paranoia, make sure we don't also need /tmp.

This revision is now accepted and ready to land.Apr 5 2021, 9:18 PM

I think it's safe; the kldxref.c:maketemp() function is used to create the temporary next to their final destinations.