Linux mount command mount detailed

>>> Linux tutorial directory <<<

File system management -2.2 mount command

Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below.

1. Query and auto-mount

  • mount [-l]
    • Query the mounted devices in the system, if -l is written, the volume label name will be displayed
  • mount -a
    • Mount automatically according to the content of the configuration file / etc / fstab

2. Mount command format

  • mount [-t] [-L] [-o] [device file name] [mount point]
    • -t [file system]: add file system type to specify the type of mount, you can use ext3, ext4, iso9660 and other file systems
    • -L [volume label name]: Mount the partition with the specified volume label instead of mounting the device file name
    • -o [special options]: additional options for mounting can be specified, such as exec, remount, etc.

Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> ؂ <๑)

Published 366 original articles · praised 68 · 50,000+ views

Guess you like

Origin blog.csdn.net/qq_43479432/article/details/105655585