Dear All,

since the means of determining os a filesystem is remote is to look for 
a colon in it's name, samba mounted filesystems are incorrectly 
identified as local.

NFS uses host:/remote/path
Samba uses //host/remote/path

Please find enclosed a patch the copyright to which I release in full 
without reservation to GNU under the GPL.

Craig.

--- fileutils-4.1/lib/mountlist.h.local Mon May 13 13:51:12 2002
+++ fileutils-4.1/lib/mountlist.h       Mon May 13 13:51:37 2002
@@ -46,5 +46,5 @@
  #endif

  #ifndef ME_REMOTE
-# define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') != 0)
+# define ME_REMOTE(fs_name, fs_type) ((strchr (fs_name, ':') != 0) || 
(fs_name == strstr (fs_name, "//")))
  #endif


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to