Home  >  Article  >  Operation and Maintenance  >  How to mount a hard disk in linux

How to mount a hard disk in linux

王林
王林Original
2020-03-11 17:23:023581browse

How to mount a hard disk in linux

Mount command (mount) format:

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

Parameter description:

-t vfstype specifies the type of file system, usually not necessary specified. mount will automatically select the correct type.

-o options are mainly used to describe the mounting method of devices or files.

device The device to be mounted.

The mount point of the dir device on the system.

(Recommended tutorial: linux tutorial)

For example:

sudo mount /dev/sdc1 /home/qiuqiu/2t

Or specify the file format to mount

sudo mount -t ntfs-3g /dev/sdc1 /home/qiuqiu/data

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of How to mount a hard disk in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn