The "umount - device is busy" issue: wbumount

nf nf2 at scheinwelt.at
Tue Apr 20 15:55:50 EEST 2004


On Tue, 2004-04-20 at 14:41, Anthony Metcalf wrote:
> On Tue, 20 Apr 2004 14:31:06 +0200
> nf <nf2 at scheinwelt.at> wrote:
> 
> > On Tue, 2004-04-20 at 13:34, Anthony Metcalf wrote:
> > > On Tue, 20 Apr 2004 13:04:18 +0200
> > > nf <nf2 at scheinwelt.at> wrote:
> > > 
> > > > http://www.scheinwelt.at/~norbertf/wbumount/
> > > 
> > > One comment, if the mountpoints are updated when things are
> > > hotplugged why do you have to specify a mountpoint when starting
> > > wbumount? Or am I just reading wrong. 
> > 
> > the moutpoint-argument of wbumount-gtk is optional. it could be used
> > to run wbumount-gtk from other applications (like filemanagers which
> > fail to umount a device).
> 
> So the user never calls wbumount? only wbumount-gtk?

wbumount is a command-line utility used by wbumount-gtk.

> 
> > wbumount only lists devices mounted by the current user ("user" option
> > in /etc/fstab). hotplug devices are always mounted by root - i guess -
> > there is now way to umount them manually anyway. on my mdk10 hotplug
> > uses supermount - i don't know if this is always the case. how do
> > other linuxes (redhat?) deal with hotplug devices? do they just create
> > a"user" mountpoint in fstab - or do they mount right away?
> 
> 
> At the moment i'm using udev/dbus/hal/gnome-volume-manager (in fluxbox)
> for all my hotplugging needs, I will see tonight if you app supports
> this. :)

watch for "user={currentuser}" in /etc/mtab. that's what wbumount checks
before running /sbin/fuser -vm {mountpoint}.

thanks
norbert






More information about the xdg mailing list