CentOS7 access content in the CD-ROM
When using the operating system, we sometimes use optical disks and optical drives. Unlike windows's access to the content of a CD, if you want to access the CD in CentOS7, You need to attach the CD to a local directory. I understood this as a local image for the content of the CD. Next, let's take a look at how it works.
Mount
-Tauto
/Dev/cdrom
/Mnt/cdrom
Explanations:
Mount is the mount command.
-T auto indicates the type of filesystem on the device to which the mount command is to be mounted. If auto is used here, CentOS will automatically recognize it.
/Dev/cdrom: the access path of the device to be mounted. In fact, if you carefully observe the cdrom file, you will find that cdrom is only a link file and linked to sr0.
/Mnt/cdrom indicates the target path after mounting. In other words, this is the access path after the Cd content is mapped. Note that if this/mnt/cdrom does not exist, you must first create this directory with mkdir. Generally, mnt exists, but cdrom does not exist.
After mounting OK, you can run the cd command to access/mnt/cdrom.