Bug#396215: mostly fixed

Neil Moore neil at s-z.org
Thu Jan 15 22:52:59 UTC 2009


The attached patch replaces the previous patch by:
 * adding a force_rescan parameter to _gnome_vfs_get_unix_mount_table
   and to update_fstab_drives;
 * forcing a rescan of fstab when mtab changes (and in _force_probe);
 * splitting out the code that resolves UUID=, LABEL=, and symlinks
   into a new function resolve_mount_device; and
 * including <stdlib.h> for real_path (to avoids a warning).

This makes the behaviour a little better compared to the previous
patch.  However, unplugging a device after it has been manually
unmounted can cause the gnome-vfs entry (for fstab) to disappear.  I
do not yet know why, but since it does not happen all the time I
suspect a race condition; more testing is needed.

Again, the attached patch replaces my previous patch, but should still
be applied after 15_uuid_mount.patch .  It still applies cleanly
against 2.24.0-1.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-vfs-fstab-label-symlink-v3.diff
Type: application/octet-stream
Size: 8620 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090115/18ec635d/attachment-0001.obj 
-------------- next part --------------

-- 
Neil Moore, neil at s-z.org, http://s-z.org/neil/


More information about the pkg-gnome-maintainers mailing list