Introduction to Linux system optical drive Soft knowledge points

Source: Internet
Author: User

For users who are used in Linux systems, there are many reasons that Linux is better than Microsoft. In fact, each has its own quality, which is relative. When learning about Linux, you may encounter the soft switch and speed limit Problems of the Linux system optical drive. Here we will introduce the solution to the soft switch and speed limit Problems of the Linux system optical drive.

I. Soft Switch of the optical drive:

Eject-r cdrom: Open the warehouse door of the specified optical drive device. If there is only one optical drive, use eject directly. If there are two optical drive devices, specify the device according to the/dev/device file, for example, if there is a combo cdrom on my machine and the device file is/dev/cdrom1, run it with eject-r cdrom1.

Use the-t parameter to close the warehouse. For example, close my COMBO and run the following command: eject-t-r cdrom1. The advantage of eject is that the optical drive can be automatically attached to the file system, and the file system is automatically removed when the file system is popped up.

Ii. Speed Limit of the optical drive:

Eject-x n cdrom, n is the maximum speed. In actual use, n must be greater than or equal to 4, and there is no limit on the upper limit.

The eject also comes with a small software volname, which is used to read the name of the disc. Usage: volname/dev/cdrom. If your Linux does not have X-Windows, in TEXT mode, you can easily know the volume of the disc.

Tip: Question about the Chinese character file name. For example, if an eject is attached to an optical drive file system, the file names with Chinese characters on the optical drive will all be "?". After checking the source code of the eject, it is found that the setting in the/etc/fstab file is called to mount the file system, as long as iocharset = gb2312, codepage = 936 is added to the third column of the inverted number in the/dev/cdrom line. Re-use eject to mount the disc. You will find that the Chinese character file name is correctly displayed.

I hope the soft switch and speed limiting knowledge of the Linux optical drive will be helpful to you.

  1. Use logs to make Linux management easier
  2. Operation notes: Linux Framebuffer Programming
  3. Detailed introduction to Linux File Types
  4. Command Daquan: Linux advanced command line skills
  5. Introduction Linux screenshot tool: import

Related Article

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.