Linux basics: Linux file system Mount management

Source: Internet
Author: User
Basic Introduction to Linux: Mount management for Linux file systems ------------------------------------------- mount an operating disk or partition to create a file system. windows or Mac systems are automatically mounted. Once the file system is created... linux basics: Linux file system Mount management
----------------------------------------- Mount an operating disk or partition to create a file system. windows or Mac systems are automatically mounted. Once a file system is created, it is automatically mounted to the system, for Linux systems such as D disks, you need to manually mount them or configure the system to automatically mount them. for example, Mount/dev/sda3 ext4-> to/mnt to mount them to/mnt, but in fact, it is possible to mount to any place in read-only mode from the new Mount/dev/sda2 to/mnt umount command umount to uninstall the mounted file system, this is equivalent to the Windows pop-up umount file system/Mount point $ umount/dev/sda2/mnt may happen/mnt: device is busy. indicates that the file is in use and cannot be detached. you can run the following command to view the processes using the file system: $ fuser-m/mnt you can also use the command lsof to view the files in use $ lsof/mnt (Mount point) the automatic mounting configuration file/etc/fstab is used to customize the file system to be automatically mounted. Each row in fstab represents a mounting configuration. the format is as follows: /dev/sda2/mnt/ext4/defaults 0 0 mount point of the device to be mounted file system mount option dump, fsck related options need to be mounted devices can also use LABEL for identification, replace/dev/sda2 with LABEL = SHUANGDE. for example: LABLE = SHUANGDE/mnt ext4 noatime. rw 0 0 mount-a command mounts all the automatic mounting options defined in fstab.
 
Related Article

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.