Linux Mounted Discs

Source: Internet
Author: User

1. Locate the full path name of the disc.

[Email protected] ~]# Ll/dev | grep cdrom
lrwxrwxrwx 1 root root 4 08-07 22:28 cdrom scd0
lrwxrwxrwx 1 root root 4 08-07 22:28 cdrom-sr0 scd0

2. Mount to the MNT directory

Command: Mount CD path name mount Directory

such as: Mount/dev/scd0/mnt or Mount/dev/cdrom/mnt

3. View the installation package directory (install package in server or packages directory)

[Email protected] server]# Ll/mnt/server | More

Total 2610333
-r--r--r--root root 1205401 2008-01-18 a2ps-4.13b-57.2.el5.i386.rpm
-r--r--r--root root 69435 2007-11-07 acl-2.2.39-3.el5.i386.rpm
-r--r--r---root root 23213 2008-09-09 acpid-1.0.4-7.el5.i386.rpm

4. un-mount

[Email protected] ~]# umount/mnt #取消挂载
[Email protected] ~]# Ll/mnt/server #查看原挂载目录
LS:/mnt/server: There is no file or directory #原挂载目录已不存在

Linux Mounted Discs

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.