Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UMOUNT - Device is busy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gregik
n00b
n00b


Joined: 06 Mar 2005
Posts: 33

PostPosted: Fri Mar 11, 2005 8:18 am    Post subject: UMOUNT - Device is busy Reply with quote

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
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Fri Mar 11, 2005 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
firetwister
n00b
n00b


Joined: 09 Feb 2005
Posts: 51

PostPosted: Fri Mar 11, 2005 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
winston_nolan
n00b
n00b


Joined: 24 Aug 2004
Posts: 71
Location: cape town, south africa

PostPosted: Fri Mar 11, 2005 10:46 am    Post subject: UMOUNT - Device is busy Reply with quote

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
View user's profile Send private message
Vagabond
Apprentice
Apprentice


Joined: 19 Jan 2003
Posts: 192

PostPosted: Fri Mar 11, 2005 1:08 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-201941-highlight-umount.html

I find this handy too..

Vag
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum