mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
2008-03-19 Sebastien Bacher <seb128@ubuntu.com> * gunixmounts.c: (guess_mount_type): consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338) svn path=/trunk/; revision=6737
This commit is contained in:
parent
53f36510be
commit
864b0d690e
@ -1,3 +1,8 @@
|
||||
2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
|
||||
|
||||
* gunixmounts.c: (guess_mount_type):
|
||||
consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
|
||||
|
||||
2008-03-19 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gfile.c:
|
||||
|
@ -1595,7 +1595,8 @@ guess_mount_type (const char *mount_path,
|
||||
(strcmp (filesystem_type, "iso9660") == 0) ||
|
||||
(strcmp (filesystem_type, "cd9660") == 0))
|
||||
type = G_UNIX_MOUNT_TYPE_CDROM;
|
||||
else if (strcmp (filesystem_type, "nfs") == 0)
|
||||
else if ((strcmp (filesystem_type, "nfs") == 0) ||
|
||||
(strcmp (filesystem_type, "nfs4") == 0))
|
||||
type = G_UNIX_MOUNT_TYPE_NFS;
|
||||
else if (g_str_has_prefix (device_path, "/vol/dev/diskette/") ||
|
||||
g_str_has_prefix (device_path, "/dev/fd") ||
|
||||
|
Loading…
Reference in New Issue
Block a user