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

How to unmount linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces you how to unmount linux, the content is very detailed, interested friends can refer to, hope to be helpful to you.

In linux, you can unmount using the umount command, which is used to unmount file systems currently mounted in the Linux directory. When the parameter is set to "- a", all file systems recorded in "/ etc/mtab" can be dismounted with the syntax "umount specifies the mount point".

The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to unmount linux

The Linux umount command is used to dismount the file system.

Umount dismounts the file system currently suspended in the Linux directory.

Grammar

Umount [- ahnrvV] [- t] [file system]

Parameters:

-a dismount all file systems recorded in / etc/mtab.

-h displays help.

-n do not store the information in the / etc/mtab file when dismounting.

-r if it cannot be dismounted successfully, try to mount the file system again as read-only.

-t dismounts only the file system specified in the option.

-v displays detailed information when executed.

-V displays version information.

[file system] in addition to specifying the file system directly, you can also use the device name or mount point to represent the file system.

You can unmount it with the umount command. Used to unmount a mounted file system (partition), equivalent to the pop-up of a windows system.

Command umount mounted device source (/ dev/sdb1) or mounted destination point (/ mnt)

Command umount file system / mount point

Umount / dev/sdb1

For example: umount / dev/sdb1 can unmount sdb1.

If a device is busy error occurs, the file system is in use

About how to unmount linux to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.

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