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 the Linux system mounts and unmounts the file system

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

Share

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

In this issue, the editor will bring you about how to mount and unmount the file system on the Linux system. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Mount and unmount the file system in linux

Format: mount [options] [device name] [directory]

Main option description:-t file system type mount the specified file system type

-r mount the file system read-only. The default is read / write. Mount the mounted file system by "mount option". Mount 1 / 2 3 with the partition name, mount / dev/sdb5 to the / data directory, and create files in the partition.

Mkdir / data mount / dev/sdb5 / data cd / data touch test.txt ls

Unloading

Format: umount device | Directory

Function: uninstall the specified device, using either the device name or the mount directory name.

For example: unmount the / dev/sdb5 partition, uninstall using the mount point directory.

Umount / data cd / data ls

Uninstall CD, uninstall using device name

Umount / dev/cdrom cd / media ls

What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.

This is how to mount and unmount the file system in the Linux system shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

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

Development

Wechat

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

12
Report