troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
633 stars 64 forks source link

Add exception for devtmpfs in unmount_regular() #305

Closed troglobit closed 2 years ago

troglobit commented 2 years ago

As mentioned in #302, we need to investigate the possibility of skipping devtmpfs when unmounting for a reboot/shutdown. If that works we can add a hook point after unmount_regular().

troglobit commented 2 years ago

Turns out this was already handled as an exception. Verified by running a script to ls -l /dev just before Finit calls reboot() in sig.c:do_shutdown()