Skip to content

glocalfile: Support marking fuse.sshfs filesystems as remote

Philip Withnall requested to merge pwithnall/glib:2726-fuse-remote into main

This requires checking the type of a filesystem using /proc/mounts rather than statfs(), since statfs() doesn’t give the subtype of the mount. So it only returns fuse rather than fuse.sshfs.

This commit changes the output of gio info -f ./path/to/local/sshfs/mount from filesystem::remote: FALSE to filesystem::remote: TRUE.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2726 (closed)

Closes #2726 (closed)

Merge request reports