Home >Operation and Maintenance >Linux Operation and Maintenance >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!