Re: [PATCH] close windows on unmount



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?

We have bug #131665 open for that very reason. When i view an automounted directory with nautilus, i do not want the mount to time out and nautilus close the window (or revert to $HOME, as with 2.4.1). I just checked with 2.4.2: Nautilus keeps displaying the directory, so if i click on a file, the automounter mounts the directory again.

I think it should stay that way, the window should *NOT* be closed, in which case bug #131665 could be closed instead ;-)

Summary: Nautilus should *either* prevent unmount *or* keep window open.

Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :            -3341



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]