Hi,

In src/fs-is-local.h I read:

/* Map each S_MAGIC_* value to 1, 0 or -1.
   1 if it is known to be a remote file system type,
   0 if it is known to be a local file system type, or -1 otherwise.  */
...
      case S_MAGIC_EXT2: return 1;
...
      case S_MAGIC_NFS: return 0;
...

I think the comment is wrong: The value is 1 for a local file system type,
and 0 for a remote file system type.

Bruno




  • fs-is-local.h Bruno Haible via GNU coreutils General Discussion

Reply via email to