From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 11:05:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F1AB16A4FA for ; Tue, 4 Jan 2005 11:05:34 +0000 (GMT) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6BD443D1D for ; Tue, 4 Jan 2005 11:05:33 +0000 (GMT) (envelope-from david@landgren.net) Received: from [127.0.0.1] (exo.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id CB4E9A92A for ; Tue, 4 Jan 2005 12:05:32 +0100 (CET) Message-ID: <41DA787B.5020709@landgren.net> Date: Tue, 04 Jan 2005 12:05:31 +0100 From: David Landgren Organization: The Lusty Decadent Delights of Imperial Pompeii User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Large file on a DVD-ROM showing -ve size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 11:05:34 -0000 Folks, I know FreeBSD deals with files larger than 2Gb, but I have a large file on a DVD I can't copy. This is on 4.10-STABLE FreeBSD, compiled Tue Oct 5 09:42:59 CEST 2004 ls -l gives: -r-xr-xr-x 1 root wheel -2131373162 Nov 17 01:05 bas1.bas The fact that ls itself gets it wrong makes me nervous. I compiled a 5.8.6 Perl with large file support and 64bitint and ran the following: /usr/local/p586-64i/bin/perl -le \ '$_=shift; print "$_\t", (stat $_)[7]' bas1.bas bas1.bas -2131373162 I updated my copy of rsync from ports and tried that way: % rsync -av /cdrom/bas1.bas /home/david/ building file list ... done bas1.bas sent 87 bytes received 40 bytes 254.00 bytes/sec total size is -2131373162 speedup is -16782465.84 ... and the resulting file is 0 bytes. I'm wondering if there is something special I have to add as a parameter to the mount command, in order to have the kernel interpret things differently. I've had a look at mount_cd9660 but nothing leaps out at me. The mount currently looks like this: /dev/acd0c on /cdrom (cd9660, local, read-only) Or something else? Thanks for any clues I can use, David