What are the consequences of running 'mkfs' on a mounted file system?
Running 'mkfs' (make file system) on a mounted file system can have severe consequences. The 'mkfs' command is used to create a new file system on a storage device or partition. When executed on a mounted file system, it overwrites the existing file system structures and metadata, causing the system to lose access to all data stored on that file system. This can lead to data corruption, loss of important files, and potential system instability. It is essential to unmount the file system before using 'mkfs' to ensure the safety and integrity of the data.
This mind map was published on 27 December 2023 and has been viewed 78 times.