Re: [PATCH] close windows on unmount



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?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an all-American guitar-strumming paramedic in drag. She's a wealthy 
gold-digging bodyguard on her way to prison for a murder she didn't commit. 
They fight crime! 




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