On Tue, 2004-03-09 at 12:18, Alexander Larsson wrote:
> On Mon, 2004-03-08 at 16:48, Stefan Voelkel wrote:
> > On Mon, 2004-03-08 at 16:24, Alexander Larsson wrote:
> > > On Mon, 2004-03-08 at 12:51, Stefan Voelkel wrote:
> > > > On Fri, 2004-03-05 at 04:54, James Willcox wrote:
> > > > > Hey,
> > > > >
> > > > > Currently, there is some code in nautilus that is supposed to close
> > > > > any open windows under a volume when it is unmounted.
> > > >
> > > > Does this apply to autofs mountpoints too or does nautilus hold an open
> > > > file descriptor for the current directory?
> > >
> > > If fam is used, and open fd is held. Otherwise not. The windows will be
> > > closed after unmount succeed and right before unmounting something from
> > > nautilus (or other gnome-vfs using app).
> >
> > Why is that?
> >
> > $ mount /dev/foo /mnt/foo
> > $ cd /mnt/foo
> > $ umount /mnt/foo
> > Device or Resource busy
> >
> > I guess I am not the first person asking this question but I'd like to
> > understand what should be achieved with this behaviour of nautilus.
>
> You mean you want file manager windows to prevent unmounts. Why is that?
Because a shell does so too. Or do not close the window on unmount,
because then autofs windows get closed silently.
We have a software/document archive exported via NFS. I use the
automounter to mount this on demand. There are lots of files and folders
on this server, so I do have to open around 5 to 8 folders until I find
the file I want.
Now someone calls/comes over/whatever and distracts me. After some time
the automounter unmounts the server share and the nautilus window gets
closed. This is pretty anoying since I have to open a new window and
browse to the file again.
If the window stays open the automounter would silently mount the share
if I use it again.
How about an option to disable this behaviour?
regards
Stefan
--
--------------------------------------------------------------------
Stefan Völkel stefan voelkel millenux com
Millenux GmbH mobile: +49.170.79177.17
Lilienthalstraße 2 phone: +49.711.88770.300
70825 Stuttgart-Korntal fax: +49.711.88770.349
-= linux without limits -=- http://linux.zSeries.org/ =-
Attachment:
signature.asc
Description: This is a digitally signed message part