Linux disk Mount

Source: Internet
Author: User

Linux disk mount takes three steps:

(1) The disk is plugged into a USB port, and is recognized as SISC (Small computer system Interface, literal translation is "small computer system dedicated interface");

(2) disk partitioning/formatting (specifying a storage format);

(3) mount a disk to a system directory;

Here are the operating methods:

(1) After the disk is plugged into USB, if the disk is normal, it will be dynamically discovered by the system. You can see the current disk storage situation by executing the following command

  Fdisk-l

Note:

(a) using/proc/partitions (Linux) or System_profiler (MAC)

(b) IDE hard drives are generally represented as hd* in Linux, such as HDA, HDB......,SCSI, and SATA hard drives are usually also represented as SD in Linux

(c) An explanation of the Fdisk command:

Http://www.runoob.com/linux/linux-comm-fdisk.html

Https://www.cnblogs.com/diantong/p/8820779.html

(2) According to the above notes in the 2nd find the corresponding Mount disk (this assumes that the disk is/DEV/SDC), execute the following command to format the disk (if there is a disk, do not reformat, this is for a new disk processing)

  FDISK/DEV/SDC #进入磁盘, mainly to confirm that the disk is not good, or is not already formatted (FDISK-L)

  mkfs.ext3 #以ext3格式格式化磁盘

Note:

(a) If the above two orders can also be replaced with MKFS.EXT3/DEV/SDC

(b) More disk formats (to replace the MKFS.EXT3 command), see details: 70989938

MKFS.EXT3/DEV/SDC # Format the device as a ext3 file system
MKE2FS-J/DEV/SDC # Format the device as a ext3 file system
MKFS.REISERFS/DEV/SDC # Formatted as ReiserFS file system
MKFS.VFAT/DEV/SDC # Formatted as FAT32 file system
MKFS.MSDOS/DEV/SDC # Formatted as FAT16 file system, MSDOS is FAT16
MKDOSFS/DEV/SDC # Formatted as MSDOS file system

(3) Mounting disk

  mkdir/download #创建目录download for manufacturing an access point in the system

  mount/dev/sdc/download #将/dev/sdc This disk mount to/download this access point

Note:

(a) A so-called disk mount, which is a path that associates a disk device to an operating system operation of the systems. You can then use the CD, LS and other command operations to store the

(b) If a disk needs to be reformatted, the disk must be de-mounted, i.e. using the Umount command

(c) Depending on the specific circumstances of the operating system, some of the mounts are required for a reboot to take effect

  

For more information:

Linux Disk Format: https://www.linuxidc.com/Linux/2011-05/36051.htm

Permanent mount: 51417432

NTFS file shares: Https://zhidao.baidu.com/question/233372625.html?device=mobile&ssid=0&from=844b&uid=0 &[email Protected],[email Protected]_2001,[email protected]_1_10.2_3_602&bd_page_type=1&baiduid= 38ddc15ba394473870189c2d774742e7&tj=www_zhidao_normal_1_0_10_l1

      

Linux disk Mount

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.