mknod / rsync error

Lars Bungum lars.bungum at copyleft.no
Sat Aug 23 00:11:54 EST 2003


Greetings!

I'm experiencing these problems as described in this mail:

-------
From: Thomas Quinot (thomas at melusine.cuivre.fr.eu.org)
Subject: Rsync 2.5.5: FreeBSD mknod can't create FIFO's 
This is the only article in this thread 
                                                   View: Original Format
 Newsgroups: mailing.unix.rsync
Date: 2002-06-24 06:05:25 PST 
The following patch (adapted to rsync 2.5.5 from the one posted in
Dec. 2000, http://lists.samba.org/pipermail/rsync/2000-December/003349.html)
is necessary to prevent rsync from failing on creating FIFOs or UNIX
sockets on FreeBSD. Any chance for it to be integrated in a future
release of rsync?

Thomas.

diff -ur work/rsync-2.5.5/config.h.in work.patch/rsync-2.5.5/config.h.in
--- work/rsync-2.5.5/config.h.in Tue Apr  2 03:50:49 2002
+++ work.patch/rsync-2.5.5/config.h.in Mon Jun 24 14:41:48 2002
@@ -140,6 +140,9 @@
 /* Define if you have the `mknod' function. */
 #undef HAVE_MKNOD
-----

That is, I get these "invalid argument" errors from mknod upon rsyncing.  I have searched
for a way around it, and have found nothing but this patch.  As I am using a slightly different
version, I would like to know if there is another way?

Using rsync 2.5.6 and FreeBSD 4.5-RELEASE.

-- 
Mvh.
Lars Bungum                            <lb at cl.no> <OpenPGP: E2C5C0A2>
Copyleft Software AS
Telefon            : +47 22 71 67 00
Telefaks           : +47 92 17 58 13
Mobiltelefon	   : +47 92 04 61 35
Organisasjonsnummer: 982 116 252





More information about the rsync mailing list