View previous topic :: View next topic |
Author |
Message |
gregik n00b
Joined: 06 Mar 2005 Posts: 33
|
Posted: Fri Mar 11, 2005 8:18 am Post subject: UMOUNT - Device is busy |
|
|
1] When i want to umount cdrom :
Code: |
bash-2.05b# umount /mnt/cdrom
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy
|
All windows are closed and i do with cdrom nothing.
I ever muss restart all pc.
2] When i want to all users have a right to umount and mount. What i have to do it?
Thank you |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Mar 11, 2005 8:24 am Post subject: |
|
|
If any window is open at all or you are in the directory you will not be able to unmount the cdrom. Sometimes I have trouble even when it doesn't look like anything should be accessing the cdrom.
I suggest you try ivman, it will automatically mount and unmount the drive for you when you put in and eject a disc. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
firetwister n00b
Joined: 09 Feb 2005 Posts: 51
|
Posted: Fri Mar 11, 2005 10:36 am Post subject: |
|
|
Code: | sys-process/lsof
lsof /mnt/cdrom |
gives you a list of the programms accesing files in /mnt/cdrom
often an instance of konqueror is running in the background, kill em all and your drive is free for umout |
|
Back to top |
|
|
winston_nolan n00b
Joined: 24 Aug 2004 Posts: 71 Location: cape town, south africa
|
Posted: Fri Mar 11, 2005 10:46 am Post subject: UMOUNT - Device is busy |
|
|
use Code: | umount -l /mnt/cdrom |
-l Lazy unmount. Detach the filesystem from the filesystem hierar-
chy now, and cleanup all references to the filesystem as soon as
it is not busy anymore. (Requires kernel 2.4.11 or later.)
and also make sure no windows are displaying the device or that you arent cd'ed into the dir in a console |
|
Back to top |
|
|
Vagabond Apprentice
Joined: 19 Jan 2003 Posts: 192
|
|
Back to top |
|
|
|