Re: Are /dev objects required for clean shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you have /dev on a (dev)tmpfs and are using udev for inode creation, you could trigger udev to recreate all you inodes.
If you use some other tool, it might have a similiar function.

Regards

-Sven

P.S.: Many tools like lvm come with functions to (re)create inodes in absence of a /dev inode manager.

Am 06.02.2018 um 16:48 schrieb Pascal:
/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:

/dev/dm-0
/dev/dm-1
/dev/dm-2
/dev/sdb
/dev/sdc
/dev/sdd
/dev/sg0
/dev/sg1
/dev/sg2
/dev/mapper/luks-27bc6c3f-3479-4c65-b2f8-17d35081bbf4
/dev/mapper/luks-2f41b83f-925d-42f0-aca2-b91b1c6265b0
/dev/mapper/luks-68f22741-5399-41e5-b40b-81230cb51b27
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux