Understanding: Linux mounts equivalent to Windows assignment drive letter
1. Querying devices that are mounted on the system
Mount
2. Set up auto Mount
Edit the file/etc/fstab, write the file to start the auto-mount,
Note: Generally do not write to the CD, if the write after the startup forgot to mount the CD, will cause the Linux system crashes.
3.mount [-t file system]-o[Special options] Device file name mount point
-T file system: Joins the file system type to specify the type of mount, which can be a file system such as ext3,ext4,iso9600.
-O Special option: You can specify additional options for mounting, such as all additional options
4. Mount the disc
Any empty directory can be used as a drive letter
1) Set up mount point
Mkdir/mnt/cdrom
2) Mount the disc
Mount/dev/sr0/mnt/cdrom (Attach the disc to the CDROM)
3) Uninstall command
Umount device file name or mount point
[Email protected] cdrom]# umount/dev/sr0
Error: Umount:/mnt/cdrom:device is busy.
(In some cases useful info about processes
The device is found by lsof (8) or fuser (1))
Because it is in the CD-ROM directory, so it can not be uninstalled, want to uninstall you need to first exit the Mount directory
5. Mounting the U-disk
1) View U-disk device file name: fdisk-l
2) Fdisk SDB to the SDB partition
Mount commands for the Linux command encyclopedia