tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Matthias Reichling <reichlin () sun ! rz ! uni-wuerzburg ! de>
To: tru64-unix-managers
Subject: SUMMARY: Bug in vdump / vrestore ?
Date: Tue, 07 Jul 1998 09:42:48 +0000	[thread overview]
Message-ID: <96078715811511.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-07-07  9:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox