Re: [Linux-decnet-user] fal problems
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Patrick C. <pa...@ty...> - 2003-06-06 11:14:10
|
On Thu, Jun 05, 2003 at 02:09:11PM +0100, Patrick Caulfield wrote: > On Thu, Jun 05, 2003 at 08:21:35AM +0100, Patrick Caulfield wrote: > > I'm not sure about that. there's nothing in the DAP spec that implies a 2 gig > > file limit AFAICT. looking at the libdap source code I have used longs where > > loff_t would probably be more appropriate and I suspect it may not be built > > with __LARGEFILE64. > > > > Adding > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > to CDEFS in Makefile.common allows dncopy to handle files > 2gig. I've only > tested this Linux->Linux at the moment > Right, I've tried this and managed to backup a whole RZ1CB-BS (8380080 blocks or about 4gig) disk from Alpha VMS 7.2 to a 4.6Gig saveset on a Linux box without any trouble*, so that seems to be all that's needed. I'll do another release soon with just this change in so that it's generally available (and gets into the Debian archive). patrick * It took 35 minutes if anyone's interested! |