From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 13:15:30 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 4D16C16A4CE for ; Fri, 29 Apr 2005 13:15:30 +0000 (GMT) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9007943D62 for ; Fri, 29 Apr 2005 13:15:29 +0000 (GMT) (envelope-from omniBSD@speakeasy.net) Received: (qmail 26524 invoked from network); 29 Apr 2005 13:15:28 -0000 Received: from acute.anhedonia.com (HELO [10.20.30.10]) (omni@[66.93.24.213]) (envelope-sender ) by mail25.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Apr 2005 13:15:28 -0000 Message-ID: <42723452.7070803@speakeasy.net> Date: Fri, 29 Apr 2005 08:19:14 -0500 From: Ash User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041104 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= References: <4271D753.1010003@lugpiacenza.org> <4271DAB7.7040607@cs.tu-berlin.de> In-Reply-To: <4271DAB7.7040607@cs.tu-berlin.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit cc: pier cc: freebsd questions Subject: Re: Problem ext2 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: Fri, 29 Apr 2005 13:15:30 -0000 Björn König wrote: > pier wrote: > >> I need ext2 because i need to exchange very big files (dvd iso images) >> with linux computers. >> But everytime i try to copy a big file i receive this message: >> >> cp: ./sarge-i386-1.iso: File too large >> Do your Linux kernel your ext2 file system support large files (files over 2GB)? If not, you will have to boot into Debian and enable LFS (large file support) and add that feature to your ext2 partition. >> > FreeBSD might only be able to deal with files smaller than 2 GiB on ext2 > file systems. Use a program like lxsplit to cut the file into chunks > first, e.g. > > lxsplit -s filename 1024M > > and join it later with > > lxsplit -j filename.001 > > Björn > Adding to Björn's advice, in case you don't with to use a port. The FreeBSD base system includes split(1), which will allow you split up binary files (with -b flag) and then join them with cat. To split: split -b 1024b original.iso original. To join: cat original.aa original.ab ... original.an >> original.iso Please note that this won't work for your particular case, if your Debian install does not support LFS. -Ash