Linux: mountandumount

Source: Internet
Author: User
Linux: mountandumount simply learn to mount an iso image: mkdir/media/oelmount/dev/cdrom/media/oel uninstall Image: umonut/media/oel supplement: umount prompts that devicebusy is because a program is currently using the device you uninstalled... linux: mount and umount simply learn to mount an iso image: mkdir/media/oelmount/dev/cdrom/media/oel uninstall Image: umonut/media/oel supplement: umount prompts that device busy is because a program is using the device you detach. for example, your current path may be located at the Mount point of the device, you can use fuser-km/dev/sdb1 (device name) to kill the program that occupies this device before you can uninstall FYI ": [root @ oracle11g/] # mount/dev/cdrom/mediamount: block device/dev/cdrom is write-protected, mounting read-only [root @ oracle11g/] # df Filesystem 1K-blocks Used Available Use % Mounted on/dev/mapper/VolGroup00-LogVol00 14220336 12285584 1200752 92%/dev/sda1 101086 22569 73298/ boottmpfs 219412 0 219412 0%/dev/shm/dev/sr0 3592530 3592530 100%/media [root @ oracle11g/] # [root @ oracle11g repodata] # umount/mediaumount: /media: device is busyumount:/media: device is busy [root @ oracle11g repodata] # pwd/media/repodata [root @ oracle11g repodata] # [root @ oracle11g media] # cd .. [root @ oracle11g/] # pwd/[root @ oracle11g/] # umount/media [root @ oracle11g/] # dfFilesystem 1K-blocks Used Available Use % Mounted on/dev/mapper/VolGroup00-LogVol00 14220336 12285584 1200752 92% // dev/sda1 101086 22569 73298 24%/boottmpfs 219412 0 219412 0%/dev/shm [root @ oracle11g/] #
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.