From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:08:47 2003 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 E948316A4B3 for ; Tue, 7 Oct 2003 20:08:47 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3350443FE5 for ; Tue, 7 Oct 2003 20:08:47 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h9838kWx043637; Tue, 7 Oct 2003 22:08:46 -0500 (CDT) (envelope-from dan) Date: Tue, 7 Oct 2003 22:08:46 -0500 From: Dan Nelson To: jon Message-ID: <20031008030846.GB87235@dan.emsphone.com> References: <20031008022912.84147.qmail@web40307.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031008022912.84147.qmail@web40307.mail.yahoo.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: questions@freebsd.org Subject: Re: mkisofs file too large? 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: Wed, 08 Oct 2003 03:08:48 -0000 In the last episode (Oct 07), jon said: > # ls -lh > -rw-r----- 1 root wheel 2.6G Oct 7 22:11:00 2003 mkisofstest.tar > > # mkisofs -o mkisofstest.tgz.iso mkisofstest.tgz > mkisofs: Value too large to be stored in data type. > File mkisofstest.tar is too large - ignoring > Total translation table size: 0 > Total rockridge attributes bytes: 0 > Total directory bytes: 0 > Path table size(bytes): 10 > Max brk space used ab24 > 48 extents written (0 Mb) It may be that the cd9660 filesystem cannot correctly represent files over 2gb, so mkisofs skips files larger than that. Mkisofs explicitly rejects files over 2^31 bytes: tree.c:1520 if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x7FFFFFFF)) { errno = EFBIG; errmsg("File %s is too large - ignoring\n", whole_path); -- Dan Nelson dnelson@allantgroup.com