PDA

View Full Version : Shutdown and umount



Barzai
30th October 2015, 06:28 PM
Hello there,

So, I have some important data on my hard drives, and I think I've seen an answer about this on a Dabian forum, but in this case it's better to be 100% sure: after mounting hard drives (including encrypted hard drives with cryptsetup), is there the necessity of unmounting everything before shutting down at the risk of messing up the drives? Perhaps there's any argument to be used with shutdown?

Thanks!

sidebrnz
30th October 2015, 08:49 PM
No. Both shutdown and reboot include unmounting everything, to prevent exactly that type of problem.

lsatenstein
30th October 2015, 09:13 PM
Want to be extra sure? sudo sync && shutdown now.

Barzai
31st October 2015, 06:04 AM
Good to know. Thanks for the help :)