Re: cdrom does not un-mounts
From: John van Spaandonk (j.spaandonk_at_chello.nl)
Date: 05/22/04
- Previous message: Karsten M. Self: "Samba problem resolved: roaming profiles wouldn't"
- In reply to: J.S.Sahambi: "cdrom does not un-mounts"
- Next in thread: Wolfgang Pfeiffer: "Re: cdrom does not un-mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Sat, 22 May 2004 10:12:42 +0200
On Saturday 22 May 2004 06:52, J.S.Sahambi wrote:
> I am using Debian/sid. Some times when I mount a cdrom and try to
> unmount it immediately, it gives the following error on the terminal:
>
> umount: /cdrom: device is busy
> umount: /cdrom: device is busy
>
> But the fact is the cdrom is not being used by any of my terminals or
> programs (as I have not used the terminal or any program to browse or
> use the cdrom). The only way I have found to umount the cdrom in this
> case is to logout (or kill the xserver with ctrl-alt-backspace) and
> login are root or same user and unmount. Then the cdrom unmounts with
> out any problem.
>
> Can anybody shed some light on it.
>
> Thanks
> JSS
I use lazy unmounting to solve this problem.
First exit the directory of the CDrom (better close the
filemanager completely)
then do a umount -l /mnt/cdrom
or wherever you mounted it.
From the manual page:
Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and
cleanup all references to the filesystem as soon as it is not busy
anymore. (Requires kernel 2.4.11 or later.)
Good luck,
John
- Previous message: Karsten M. Self: "Samba problem resolved: roaming profiles wouldn't"
- In reply to: J.S.Sahambi: "cdrom does not un-mounts"
- Next in thread: Wolfgang Pfeiffer: "Re: cdrom does not un-mounts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|