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

The method of realizing mounting in linux

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

Share

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

This article is to share with you about the method of mounting in linux, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

For files other than the root file system to be accessible, they must be "associated" to a directory on the root file system. This association operation is called "mount", and this directory is the "mount point". The process of disassociating this association is called "unmounting".

Mount command (mount)

First of all, introduce the use of the mount command. There are a lot of parameters for the mount command. Here we will mainly talk about what we are going to use today.

Command format:

Mount [- t vfstype] [- o options] device dir

Where:

1. Murt vfstype specifies the type of file system, usually not necessarily. Mount automatically selects the correct type. The common types are:

CD or CD image: iso9660

DOS fat16 file system: msdos

Windows 9x fat32 file system: vfat

Windows NT ntfs file system: ntfs

Mount Windows file network sharing: smbfs

UNIX (LINUX) File Network sharing: nfs

2.Muro options is mainly used to describe how devices or files are mounted. The commonly used parameters are:

Loop: used to attach a file to the system as if it were a hard disk partition

Ro: attach devices in read-only mode

Rw: use read-write mode to connect devices

Iocharset: specifies the character set used to access the file system

3.device the device to be attached (mount).

The mounting point (mount point) of a 4.dir device on the system.

These are the methods of mounting in linux, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please 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

Servers

Wechat

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

12
Report