gnome-vfs-2.8.1-console-mount-opt.patch 835 B

12345678910111213141516171819
  1. --- libgnomevfs/gnome-vfs-unix-mounts.c.orig 2004-09-29 20:01:35.682949864 +0200
  2. +++ libgnomevfs/gnome-vfs-unix-mounts.c 2004-09-29 20:02:25.530371904 +0200
  3. @@ -591,6 +591,7 @@ _gnome_vfs_get_unix_mount_table (GList *
  4. && hasmntopt (mntent, "user") != hasmntopt (mntent, "user_xattr"))
  5. || hasmntopt (mntent, "users") != NULL
  6. || hasmntopt (mntent, "owner") != NULL
  7. + || hasmntopt (mntent, "pamconsole") != NULL
  8. #endif
  9. ) {
  10. mount_entry->is_user_mountable = TRUE;
  11. @@ -669,6 +670,7 @@ _gnome_vfs_get_unix_mount_table (GList *
  12. && hasmntopt (&mntent, "user") != hasmntopt (&mntent, "user_xattr"))
  13. || hasmntopt (&mntent, "users") != NULL
  14. || hasmntopt (&mntent, "owner") != NULL
  15. + || hasmntopt (mntent, "pamconsole") != NULL
  16. #endif
  17. ) {
  18. mount_entry->is_user_mountable = TRUE;