28 #include <sys/param.h> 29 #include <sys/mount.h> 46 if (statfs (path, &st) == -1) {
51 if ((g_ascii_strcasecmp (st.f_fstypename,
"nfs") == 0) ||
52 (g_ascii_strcasecmp (st.f_fstypename,
"smb") == 0)) {
#define xmms_log_error(fmt,...)
gboolean xmms_statfs_is_remote(const gchar *path)
This function uses the statfs() call to check if the path is on a remote filesystem or not...