From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811511.tru64-unix-managers.marc@archive.invalid> From: Matthias Reichling Date: Tue, 07 Jul 1998 09:42:48 +0000 To: tru64-unix-managers Subject: SUMMARY: Bug in vdump / vrestore ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811511 Original question: > I wanted to transfer a directory tree from one machine to a second and > observed the following: > > If I try > > rsh remotehost /sbin/vdump -0 -q -D -f - /tmp | /sbin/vrestore -xf - -D /tmp > > I get the error > > path : /tmp > vrestore: Date of the vdump save-set: Tue Jun 30 17:20:51 1998 > vrestore: empty save-set > vrestore: nothing will be restored > Segmentation fault (core dumped) > > but if I try > > rsh remotehost /sbin/vdump -0 -q -D -f - /tmp "|" cat | /sbin/vrestore -xf - -D /tmp > > all works fine. > The behavior is the same under Digital UNIX V4.0B and Digital UNIX V4.0D. > > Any ideas ? Thanks to the following people who answered: szgyula@tarkus.pha.jhu.edu > I think it's normal. In the first case it is reading from the network > so there is no guarantie that requesting N bytes will result in N bytes > -- it may be less, often is. 'tar' has the 'B' modifier for this very reason. > vdump was not intended to work over the network so it'a lacking this feature. Lucien_HERCAUD@paribas.com > This is a long lasting bug in vdump which does not "like" writing to > sockets; but it writes OK on pipes. > CAT, on its side, has nothing against sockets. Matthias Reichling Univ. of Wuerzburg reichling@rz.uni-wuerzburg.de