[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] nmh over sshfs?

From: rader
Subject: Re: [Nmh-workers] nmh over sshfs?
Date: Sat, 18 Oct 2008 09:59:46 -0500

 > > I'm hoping to run (exmh over) nmh over sshfs, but it doesn't work
 > > because 1) sshfs doesn't implement link()...
 > >   
 > When I ran Evolution a few years ago and told it about my MH message
 > tree, it went through the tree and broke all of my message links. 
 > Because I like the ability to have a message appear in all of the
 > folders where it might belong, I haven't used Evolution since.  (I also
 > filed a bug report, but I haven't checked whether anyone was able to fix
 > it -- or did.)
 > Still, for compatibility with non-*nix filesystems, would it makes sense
 > for nmh to have a "no-links" configuration option?  I haven't looked at
 > the code to see how possible that might be... just an idea.

Interesting idea.  A one line hack made scan and show work over sshfs,
so I might do the work.

Is there a regres/test suite/document for nmh???


bash$ diff -u lock_file.c.orig lock_file.c
--- lock_file.c.orig    2008-04-05 13:41:37.000000000 -0500
+++ lock_file.c 2008-10-18 09:53:03.000000000 -0500
@@ -365,6 +365,9 @@
     if ((fd = open (file, access, mode)) == -1)
        return -1;
+/* SR HACK */
+return fd;
      * Get the name of the eventual lock file, as well
      * as a name for a temporary lock file.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]