Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Unmount the file system using the umount command of linux

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the use of linux umount command to unmount the file system, I hope you will learn a lot after reading this article, let's discuss it together!

Umount is an acronym for "unmount", translated as "not hanging on. So its function is to unmount mounted file systems, directories, or files."

Use the umount command to unmount the file system. You can umount the file system using either the device name or the mount point, but it is best to unmount it through the mount point, causing confusion when using binding to mount (one device, multiple mount points).

Syntax format: umount [parameters]

Common parameters:

-a unmount all file systems recorded in / etc/mtab-h display help-n do not save information to / etc/mtab file during unmount-r if unmount is not successful, try to mount the file system again as read-only-t file system type: only the file system specified in the unmount option-v displays detailed information when executed-V displays version information

Reference example

Uninstall by device name:

[root@linuxcool] # umount-v / dev/sda1

/ dev/sda1 umounted

Uninstall through the mount point:

[root@linuxcool] # umount-v / mnt/mymount/

/ tem/diskboot.img umounted

Perform a deferred uninstall of system files when they are busy:

[root@linuxcool ~] # umount-v1 / mnt/mymount/

Unmount the file system mounted in the / media/E_pan directory:

[root@linuxcool ~] # umount / media/E_pan

Uninstall files and directories:

[root@linuxcool] # umount / home/user/test has finished reading this article. I believe you have some understanding of unmounting the file system using linux's umount command. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report