Re: What is the right way to do auto-mounting with Nautilus 2.22?



On Tue, 2008-03-18 at 12:49 -0400, Joe Marcus Clarke wrote:
> However, the other side of the problem is really a gio problem.  FreeBSD
> doesn't have an mtab file, and thus Nautilus never gets updated about
> changing mounts.  If I hack gio to use hal's /media/.hal-mtab file, I
> get nearly perfect results, though only hal-controlled mounts are
> updated.
> 
> Alexander, would it be doable to add a timeout source or an idle source
> to gio when there is no mtab file?  This way, gio can periodically poll
> for mount changes, and signal other applications.  Thanks.

Surely FreeBSD must have something that enumerates the mounted file
systems? At least the kernel knows (on Linux this is in /proc/mounts and
the format is similar to /etc/mtab).

    David




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