Re: Can rsync write to a FIFO?

Heiko Schlittermann via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Organization schlittermann -- internet & unix support
Message-ID <[email protected]>
Chris Green via rsync <[email protected]> (Fr 10 Feb 2023 10:31:15 CET):
> Can rsync write to a FIFO?  Obviously one needs the --inplace to do
> this, does one also need --write-devices?

I think, there is no point in using rsync, as there is nothing to
compare against on the remote side (and I've doubts if rsync will be
happy with a "file" that isn't seekable.)

As rsync uses SSH nowadays, I'd do something like

        scp LOCAL-FILE remote-host:FIFO

But, I'm not sure if scp is happy with a FIFO on the remote end.
A fallback could be

        ssh remote-host 'cat >FIFO' <LOCAL-FILE

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE0L/WueylaUpvFJ3Or0zGdqa2wUIFAmPnprYACgkQr0zGdqa2
wUKvCggAmK8kf+HXl+817eyFfYDlvoiN796Iuhv39CvtXu3hBOJPANbtOG2WrmNN
YHRGLNdtl+mVfvoJZGj17MJC2Kwj1qBkDTFnjtfIfh8bxuTRQN2qCdD3j7cwyYO9
bB+X9tVaEV4WN8b5J8/iygUY1UFgN9lOFUZKdj5QHzBarHkhxZ7/rKxl8DHbcVLR
hAPJdhtcMa/AzaEBFPHWb8+KvHnvbSXT1PRJ5VeYwb5A6dl02CMwMUvB3c7LHrZ4
x5vr2iW5smH+OWwUFL4G+Wwy6RXlvDPtd5+AmmqVeRwkwLFtPOs5Fyx35VGK/UFC
7VVtsImSScgqOe/eO3K3YR4FjiP0Pw==
=zWzI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.