[dm-crypt] Are /dev objects required for clean shutdown?

Pascal Pascal at rkfd.com
Tue Feb 6 16:48:06 CET 2018

/dev on my CentOS 7 box took a 'rm -rf' yesterday, wiping out most of 
it.  Easiest way to recover is to reboot (/dev is on a ramdrive and 
created from scratch during boot), but I'm worried about not getting a 
clean shutdown.  Does cryptsetup need anything in /dev to shutdown 
cleanly?  If so, how do I recreate the devices?  The complete list of 
what is missing from /dev is huge, but the below all seem to be disk 
related and are all gone now:


More information about the dm-crypt mailing list