tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Bug in vdump / vrestore ?
@ 1998-07-07  9:42 Matthias Reichling
  0 siblings, 0 replies; only message in thread
From: Matthias Reichling @ 1998-07-07  9:42 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-07  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-07  9:42 SUMMARY: Bug in vdump / vrestore ? Matthias Reichling

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