From owner-freebsd-questions@FreeBSD.ORG Sun Jan 9 19:13:03 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 C185C16A4CE for ; Sun, 9 Jan 2005 19:13:03 +0000 (GMT) Received: from out011.verizon.net (out011pub.verizon.net [206.46.170.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DB2543D4C for ; Sun, 9 Jan 2005 19:13:03 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out011.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050109191302.BLWO4717.out011.verizon.net@ringworm.mechee.com>; Sun, 9 Jan 2005 13:13:02 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 8DE272CE742; Sun, 9 Jan 2005 11:09:46 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Sun, 9 Jan 2005 11:09:42 -0800 User-Agent: KMail/1.7.2 References: <20050109164501.0b0d4a3d@eric.placeverte.home> <20050109172826.52b93228@eric.placeverte.home> <200501091045.24843.reso3w83@verizon.net> In-Reply-To: <200501091045.24843.reso3w83@verizon.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501091109.44784.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out011.verizon.net from [4.26.84.7] at Sun, 9 Jan 2005 13:13:02 -0600 cc: mess-mate Subject: Re: copy file to cd-rw 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: Sun, 09 Jan 2005 19:13:04 -0000 On Sunday 09 January 2005 10:45 am, Michael C. Shultz wrote: > On Sunday 09 January 2005 08:28 am, mess-mate wrote: > > I've readed . > > But sorry if i insist, the file to save is very-very important for > > me. This file contains the openoffice data of my work. > > So, i can't do any mistake and have no experience with 'cat', > > 'split' or 'mkisofs'. > > > > His name is 'home.tar.bz2' !! and is 2.4GB long. > > I've to find a way to save that file anywhere and must be accessed > > by my FBSD 5.3 as by another linux disk. > > To do that i've created a second partition /dev/hda4 with a ext3 fs > > can be accessed by my FBSD as by the linux disk. > > > > I can cp this file from that ext3 partition to FBSD but after > > changed and retarred/bzip2 My FBSD won't cp it to that partition " > > File too large". > > > > I can of course split that file, in this case it must be possible > > to join the resulting files from FBSD as by linux. > > > > I don't know if linux can join these files, splitted by FBSD, with > > a 'cat'. > > > > Anybody can help me with this issue ? > > > > Thanks in advance for your time. > > mess-mate > > Here is my advice: > install archivers/rar > and archivers/par2cmdline > The following script will split your file into 25meg chunks, > build a cd_9660 iso of them and provide a way to recover damaged > files just in case, later on. > > assuming you file name is: > home.tar.bz2 > then run the following script as: > > ./backup.sh home.tar {don't add the .bz2} > > #!/bin/sh > if test $1 > then > echo "mkdir $1; cd $1; rar a -s -m5 -v25m $1.rar ../$1.bz2" > mkdir $1; cd $1; rar a -s -m5 -v25m $1.rar ../$1.bz2" > > echo "cd $1;par2 c -r15 -u $1 $1.part*.rar" > cd $1;par2 c -r15 -u $1 $1.part*.rar > > echo "verifing archive" > par2verify $1/$1.par2 > > echo "mkisofs -JR -o $1.iso" > mkisofs -JR -o $1.iso $1 > else > echo "command line syntax is \"backup.sh {bz2 file name to back > up}\"" fi > > Note: this script is not tested so it may need a little tweaking, it > would also be improved if it could abort if the "par2verify > $1/$1.par2" step fails but I don't know enough about scripting to do > that, does anyone else? > > -Mike You probably should get rid of the "mkisofs -JR -o $1.iso $1" line because it will be too big. If you will be burning to CD-Rs then make (2400/700=4) 4 sperate directories and divide all of the files in /home.tar equally amongst them then run something like: mkisofs -JR -o home.tar.1.iso home.tar-1 mkisofs -JR -o home.tar.2.iso home.tar-2 mkisofs -JR -o home.tar.3.iso home.tar-3 mkisofs -JR -o home.tar.4.iso home.tar-4 on each directory. -Mike