LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-02-2005, 12:36 PM   #1
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Rep: Reputation: 30
CD/DVD unmounting


I keep getting this problem with unmounting of CDs. When mounted, I can't unmount them. How do I unmount the disks without having to reboot to remove them? And is it possible to have it automounted, and autounmounted like on windoze?
 
Old 03-02-2005, 12:45 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

do u want to say that some process blocks u from unmounting ur cdrom??

run this

fuser -k /dev/cdrom

and
fuser -k <path hwere cdrom is mounted>

and u will free ur cdrom from any processes

regards
 
Old 03-02-2005, 12:58 PM   #3
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
[root@DaBlade dablade]# /sbin/fuser -k /dev/hdd
[root@DaBlade dablade]# umount /dev/hdd
umount: /media/cdrecorder: device is busy
umount: /media/cdrecorder: device is busy
[root@DaBlade dablade]#

Didn't work...
 
Old 03-02-2005, 01:32 PM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
what about

fuser -k /mnt/cdrecorder
 
Old 03-02-2005, 01:38 PM   #5
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
It's FC3, so it's /media, but it worked. Thank you.

[root@DaBlade dablade]# /sbin/fuser -k /media/cdrecorder
/media/cdrecorder: 7394
No automatic removal. Please use umount /media/cdrecorder
[root@DaBlade dablade]# umount /media/cdrecorder
[root@DaBlade dablade]# eject /media/cdrecorder
[root@DaBlade dablade]#
 
Old 03-02-2005, 03:35 PM   #6
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
If you show an unmounted cdrom icon on the desktop then when you close all file directories or apps that are using the cd you can simply right click on the cd icon and choose eject. Your problem is probably that you are not closing all apps that are using the cd before you try to eject it. You can not eject a cd as long as Konqueror has the cdrom directory open for example. Close Konqueror or get out of that directory.

May not be what you were talking about but that is how I solved it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 03:00 PM
Unmounting CD/DVD Artik Debian 1 05-09-2005 09:06 AM
automatic cd/dvd rom mounting/unmounting ganja_guru Linux - Software 4 08-29-2004 06:41 AM
Unmounting the cd? mrobi Linux - General 3 02-16-2003 01:23 AM
CD unmounting Paul_assheton Linux - General 14 04-16-2002 03:37 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration