CentOS7, accessing the contents of the CD-ROM

Source: Internet
Author: User

When we use the operating system, we sometimes use optical discs and optical drives. Unlike the way Windows accesses disc content, in CentOS7, if you want to access a disc in the CD drive, you need to mount the CDROM to a local directory. I myself think of this as a local image of the contents of the disc. Let's look at how to do this.

Mount-t Auto/dev/cdrom/mnt/cdrom

Explain:

Mount is the Mount command.

The- T auto means to tell the Mount command what type of filesystem is on the device that we need to mount, where auto is used, and CentOS will automatically recognize it.

/dev/cdrom This is an indication of the device access path we are going to mount. In fact, you carefully observe CDROM this file you will find, in fact, CDROM is just a link file, link to sr0.

/mnt/cdrom This is the target path after the mount is said to be mounted. In other words, this is the access path after the disc content is going to be mapped. It is important to note that if this/mnt/cdrom does not exist, then you must first create this directory with mkdir. The general mnt is present, but the CDROM does not exist.


After you mount OK, you can use the CD command to enter the/mnt/cdrom to see what's going on.

This article is from the "Bitterjava" blog, make sure to keep this source http://rickqin.blog.51cto.com/1096449/1770232

CentOS7, accessing the contents of the CD-ROM

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.