Re: Directory-change notification (was Re: Desktop)



Michael ROGERS <M.Rogers@cs.ucl.ac.uk> writes:

> 
> Does that matter for a graphical file manager? Maybe the names of the files in
> the directory are enough information, since the MIME type is guessed based on
> the name.

Actually, that's only a first approximation; the contents are also
checked. Also, the file manager cares a lot about other properties of
files, such as size and permissions.

In any case, we will almost certainly end up doing some sort of
background checking process like this for Nautilus, and we'll evaluate
what kind of system load it imposes.

As far as the kernel code for notification about file and directory
changes goes, that would be nice to see, but GNOME has to be portable,
so active polling based checking will still need to be implemented.

 - Maciej



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