Find the answer to your Linux question:
Results 1 to 4 of 4
Hello I dont understand why does the cdrom in linux gets locked when the cd is mounted. I tried to remove cd without unmounting but the cdrom seems unresponsive. Only ...
  1. #1
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493

    why does the cdrom get's locked on mounting cd

    Hello
    I dont understand why does the cdrom in linux gets locked when the cd is mounted. I tried to remove cd without unmounting but the cdrom seems unresponsive. Only after I manually umount it throght the terminal , it can be ejectd.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by vickey_20 View Post
    Hello
    I dont understand why does the cdrom in linux gets locked when the cd is mounted. I tried to remove cd without unmounting but the cdrom seems unresponsive. Only after I manually umount it throght the terminal , it can be ejectd.
    This is a strange question to say the least.


    When the cd is mounted is isn't supposed to be ejected. That's the whole point. You mount a drive to use it, and umount it when you are done.

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    hey thanks for replying
    What I wanted to know is that, like in windows the cd can be removed from the cdrom whenever you press the eject button, which is not the case with linux. Also do you have any idea which files are proceesed when cdrom is mounted.

  4. #4
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by vickey_20 View Post
    hey thanks for replying
    What I wanted to know is that, like in windows the cd can be removed from the cdrom whenever you press the eject button, which is not the case with linux. Also do you have any idea which files are proceesed when cdrom is mounted.
    Well, it depends. Windows is not strange that when a program running from a cdrom hangs, the drive locks and you can't open it until you reset. It happened to me lots of times. That is because in windows there's no way to force an unmount of the drive (at least I don't know of one).

    Again, the only difference is that linux by default doesn't automount, and windows does. And windows unmount the drive when you press eject. That is, unless you own a really old drive that can be ejected manually.

    Linux itself doesn't process any file or something like that. I guess you are talking about some kind of autoplay functionality or something like that. Linux itself doesn't do that by default, though it would certainly be possible to write such functionality yourself with some simple udev rules or programming your own.

    Some desktops might offer that functionality however. I have no idea of the current state of things. I'd check kde and gnome and see if the offer something like that. I really have no idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...