On 12/11/2025 13:30, Bruno Haible via Gnulib discussion list wrote:
This patch adds a module for determining whether a file (or directory)
is on a local or a remote file system.
2025-11-12 Bruno Haible <[email protected]>
file-remote: New module.
* lib/file-remote.h: New file.
* lib/file-remote.c: New file.
* modules/file-remote: New file.
The Fs_type name comparisons in ME_REMOTE in lib/mountlist.c
look to be a subset of those im file-remote.c
Might the ME_REMOTE name list be augmented with some of these new items?
Perhaps that list of remote file systems names could be maintained
centrally in file-remote.c and then ME_REMOTE could call something like
is_remote_fs_type_name()?
cheers,
Padraig