Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Does QNX7.0 utility support rsync tool?: (7 Items)
   
Does QNX7.0 utility support rsync tool?  
I want to use this command to transfer large file remotely.
any idea for how to install rsync on QNX 7.0?
thanks,
Zhijun
Re: Does QNX7.0 utility support rsync tool?  
Hi,
we are also interested to use rsync. I checked QSC, it is not part of the SDK, neither in 7.0 nor in 7.1.

Maybe it can be ported quite easily from the sources. We haven't looked into that as yet. The only thing that could be a
 problem if the filesystem behaviour differs in subtle points between QNX powerfailsafe FS and regular Linux/Windows FS.


Regards,
-Al
Re: Does QNX7.0 utility support rsync tool?  
I think it will be part of the next release of the SDP after 7.1.

But in the mean time, it is not that hard to port from source. IIRC mostly some configure time options.
You can also contact your BB/QNX sales/engineering team and negotiate it as part of a CSP for SDP7.0.

Jim
Re: Does QNX7.0 utility support rsync tool?  
I can confirm that rsync required no patches for QNX 6.6.   If it's of any use, our current recipe is below -- popt and 
zlib are built elsewhere in our distro, so I can't speak for if the vendored versions work.

CHOST="x86-unknown-nto-qnx"
CBUILD="x86_64-unknown-linux-gnu"
export CC=qcc
export CXX=QCC
export ac_cv_prog_cc_c99=""
export rsync_cv_MAKEDEV_TAKES_3_ARGS=yes
	
./configure --build=${CBUILD} --host=${CHOST} \
		--prefix=/usr \
		--disable-debug \
		--with-included-popt=no \
		--with-included-zlib=no \
		--enable-simd=no \
		--disable-acl-support \
		--disable-xxhash \
		--disable-zstd \
		--disable-lz4 \
		--disable-ipv6
make

Re: Does QNX7.0 utility support rsync tool?  
Hi Will,
    Thanks for your information. right now the rsync can be executed on QNX7.0 successfully.
    one further question: if I want the QNX to be the rsync server, how do I configure it?
Thanks,
Zhijun
Re: Does QNX7.0 utility support rsync tool?  
Hi Zhijun,

Out of the box rsync supports operation over ssh, so all that's required from the destination is a local install of 
rsync and a working sshd.   A call of 'rsync [your options here] src user@destination_host:destination_folder' will 
connect via ssh and launch rsync on the remote end when needed.  Instructions for setting up sshd are on the "sshd" page
 in the QNX Utilities Reference.

-Will
Re: Does QNX7.0 utility support rsync tool?  
Hi will,
    that works for me. thank you very much!
Regards,
Zhijun