Mount the CD-ROM using the mount command in CentOS7

Source: Internet
Author: User

Mount the CD-ROM using the mount command in CentOS7

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-t auto/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.

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.