Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm communicating a bug on Bugzilla regarding DVD and HFS+ with Fedora 15 that requires me to mount many disks to my system. (I'm not CS, nor am I a newbie so there are bits here and there missing from my experience, command line mounting HW is one o'them). To make it necessary to learn this, xWindows File Manager apps are not mounting the DVD. Everything must be done on the command line (I use bash). To now, I've worked around the trouble to unmount by logging out.

I am using #mount successfully, but #umount fails,

# umount -f /media
umount2: Device or resource busy
umount: /media: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount2: Device or resource busy
umount2: Device or resource busy

How can the disk be busy immediately on mounting? I have not opened the contents. I've only listed the /media directory to see the disk is in fact mounted. Again, my File Manager apps are not showing the disk as mounted--another bug. So, if the File Manager is not using the disk, and I've not opened any of the contents, what process got a'hold of the disk to fail the force command?

share|improve this question
What's the output of lsof and fuser? umount's suggestion may give you a clue. – Klox Aug 9 '11 at 1:55
I don't understand this. In each instance bash was listed as having something connected with the file system or mount point. How can bash have an active and running process with either? Simply for having listed the files? This seems horribly inefficient. I think the answer needs be a lesson in bash... – xtian Aug 17 '11 at 12:20
The only way that bash normally would interfere with unmounting is if you've changed directories into that path. Any program who's current working directory is in the mounted path will prevent unmounting, not just bash. If you don't have a bash shell in that path, then I can't explain it. – Klox Aug 17 '11 at 13:23

Mounting of devices in /media is now managed through this command


devkit-disks --mount /dev/dvd

share|improve this answer
+1 but, btw, title says: Explain why – bakytn Aug 19 '12 at 22:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .