glocalfile: Support marking fuse.sshfs filesystems as remote
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)