troglobit / finit

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

Add exception for devtmpfs in unmount_regular() #305

Closed troglobit closed 1 year ago

troglobit commented 1 year 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 1 year 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()