Re: Are /dev objects required for clean shutdown?

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

 



On 02/06/2018 04:48 PM, Pascal wrote:
> Does cryptsetup need anything in /dev to shutdown cleanly?

Cryptsetup close (remove) operation should be very resilient,
it should work despite underlying device disappears etc.
But it just removes a kernel state, nothing persistent.

It cannot work if basic system files are missing, for example
/dev/mapper/control that is used to communicate with kernel device mapper.
And perhaps indirectly some other nodes, like console etc.

But if you reboot the box, the /dev/device is created dynamically in RHEL7
and LUKS metadata resides on disk. If anything is missing in /dev after
reboot, you probably did some other destructive action than just rm /dev.

Milan
_______________________________________________
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