|
Is it necessary to unmount other partitions (like Windows ntfs ones) before shutdown?
Hi, I have 4 partitions, 1: ext4 for Linux, 2: ntfs for windows, 3: ntfs for data, 4: ntfs extra. On boot, I mount both the 2nd and 3rd partition (via the fstab file).
Is it really important to unmount them before shutdown? OR is it that Linux does this autumatically for me?
I'm asking cuz I had an accident once, with this mounting/unmounting thing, lost everything in a partition.
This is how I mount a partition: mount /dev/sdxx /mnt/dir
And this is how I unmount them: umount /mnt/dir
If it's important to unmount them before shutdown, one might forget, so is there a way to unmount them automatically on shutdown, just like how we did on mounting them on booting via fstab? just like a destructor in programming.
Thanks!
|