After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685126 - portability: fix is_on_nfs on OpenBSD
portability: fix is_on_nfs on OpenBSD
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: metadata
1.14.x
Other OpenBSD
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-30 08:54 UTC by Antoine Jacoutot
Modified: 2012-10-01 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
prefer f_fstypename over unsupported f_type on OpenBSD (936 bytes, patch)
2012-09-30 08:54 UTC, Antoine Jacoutot
accepted-commit_now Details | Review

Description Antoine Jacoutot 2012-09-30 08:54:46 UTC
Created attachment 225410 [details] [review]
prefer f_fstypename over unsupported f_type on OpenBSD

Hi.

Under OpenBSD, the statfs structure does not support "f_type". So, use
"f_fstypename" to check for NFS.
Would that be alright to push?

Thank you.
Comment 1 Tomas Bzatek 2012-10-01 10:10:11 UTC
Review of attachment 225410 [details] [review]:

Looks sane to me, please push to master and gnome-3-6 branch. Thanks!
Comment 2 Antoine Jacoutot 2012-10-01 10:53:03 UTC
Thank you Tomas. Pushed in both branches.