In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how linux uninstalls unresponsive DVD drives. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Uninstall an unresponsive DVD drive
The experience of a novice to the web: when you press the Eject button on the DVD drive of the server (running the Redmond-based operating system), it pops up immediately. He then complains that in most enterprise Linux servers, if you run a process in that directory, the pop-up won't happen. As a long-term Linux administrator, I will restart the machine. If I am not sure what is running and why I do not release the DVD drive, I will eject the disk. But it's inefficient.
Here's how to find the process that holds the DVD drive and easily eject the DVD drive: simulate first. Place a disk in the DVD drive, open a terminal, and load the DVD drive:
# mount / media/cdrom # cd / media/cdrom # while [1]; do echo "All your drives are belong to us!"; sleep 30; done
Now open the second terminal and try to eject the DVD drive:
# eject
You will get the following message:
Umount: / media/cdrom: device is busy
Before releasing the device, let's find out who is using it.
# fuser / media/cdrom
The process is running and it is our fault that the disk cannot be ejected. Now, if you are the root user, you can terminate the process at will:
# fuser-k / media/cdrom
Now you can finally uninstall the drive:
# eject
Fuser is normal.
Thank you for reading! This is the end of this article on "how to uninstall unresponsive DVD drives from linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 220
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.