Unmounting the root partition
If you wish to unmount your root partition and modify the filesystem parameters, get rescue software for Linux.
To detach a previously mounted file system, use either of the following variants of the umount command:
Use the rescue software, then use
tune2fs to make the modifications.
When a file system is in use (for example, when a process is reading a file on this file system), running the umount command will fail with an error.
- umount directory
- umount device
To determine which processes are accessing the file system, use the fuser command in the following form:
fuser -m directory
For example, to list the processes that are accessing a file system mounted to the /media/cdrom/ directory, type:
~]$ fuser -m /media/cdrom /media/cdrom: 1793 2013 2022 2435 10532c 10672c