Re: umount impossible - device busy

  • From: Grégory SCHMITT <gy.schmitt@xxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 8 Sep 2007 15:33:32 +0200

----- Original Message -----
> Date: Fri, 7 Sep 2007 07:50:05 +1000
> De: <tpgww@xxxxxxxxxxx>
> À: emelfm2@xxxxxxxxxxxxx
> Sujet: Re: umount impossible - device busy

> On Wed, 5 Sep 2007 12:42:51 +0200
> Grégory SCHMITT <gy.schmitt@xxxxxxxxx> wrote:
> 
> > OK. Now using rel. 652, using default build options (no [i|d]notify,
> > fam or gamin) and it works, but it seems a little strange... let me
> > explain. I was always told that, in an Unix env, if I wanted to
> > unmount, I couldn't be in the mountpoint that I wanted to unmount.
> > 
> > So what I always did in emelfm2 was to go in the parent folder of
> > the mountpoint and then unmount. And that is specifically not
> > working. However, if I unmount while being in the device, unmount
> > will be successful.
> > 
> > Example: mountpoint is /media/SD128. I copy a file
> > to /media/SD128/Documents.
> So /media/SD128/Documents is the INactive pane.
> 
> 
> > - if I unmount while the pane displaying the contents
> > of /media/SD128/Documents, then emelfm2 will unmount the device and
> > will warn me that it's now impossible to list files and will send me
> > back to /media.
> The inactive pane is nothing special to the operating system, so this
> is as expected.
> 
> 
> > - if I go back to /media first and then try to unmount, then it's a
> > guaranteed fail.
> Did you change the active pane as part of this cd? In general, the
> active pane is the operating system CWD, and any attempt to unmount
> that will probably fail.

OK, I ran some tests. If the device I try to unmount has its mountpoint
in the active pane, then unmounting will fail. If mountpoint is in the
inactive pane, it is a success.

-- 
Grégory SCHMITT <mailto:gy.schmitt@xxxxxxxxx>


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: