Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 1995 16:31:02 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        adrian@virginia.edu
Cc:        FreeBSD Questions List <questions@FreeBSD.org>
Subject:   ftp'ing a tar onto tape?
Message-ID:  <9505312031.AA08526@halloran-eldar.lcs.mit.edu>
In-Reply-To: <Pine.SUN.3.90.950531161105.24373A-100000@stretch.cs.Virginia.edu>
References:  <Pine.SUN.3.90.950531161105.24373A-100000@stretch.cs.Virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

<<On Wed, 31 May 1995 16:19:27 -0400 (EDT), "Adrian T. Filipi-Martin" <atf3r@server.cs.virginia.edu> said:

ftp> get docs.tar /dev/nrst0

You can't do this.

> 	st0: 10752-byte record too big
> 	tar: read error on /dev/nrst0: Input/output error

and this is why.

Try:

ftp> get docs.tar |"dd of=/dev/nrst0 bs=20b"

> 	Is there some way to controll the blocking from the ftp server, 
> so that this works?

It's not the FTP server's responsibility, it's your client which is
doing the writing as best it can (but that's not good enough since
ftp was not designed to write to tapes).

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9505312031.AA08526>