From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 19:00:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDB4616A402 for ; Tue, 3 Apr 2007 19:00:42 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC2613C489 for ; Tue, 3 Apr 2007 19:00:41 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1993562muf for ; Tue, 03 Apr 2007 12:00:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=peQdhkgsIeSYqArIYuipf+UoYrFgeGiHZ0HPiPHKJ6mGfYnESYfgsSB3sUW5VXzy2i8Swr1/TVe4kT3JzCBMn3va1HY+I6OxsBi+wr7q2VezjvQMRpwLSpOID4YZRGrkXdPKHSp4st0XzwJ5KK95eVbdHjTehzEhF7Cyu32Tweg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OVcWfTqhuee0xnHfPccQNgABwKXLiFQCxbRodgLumiRbueHX13JWge2SSQ5RFhct00DDiN/To8rcke3rTcFdcKooHDuCCufVY3fuhFB6W0sZuRuWzhoYB4w3PclKNz6gt9prrDC8MovuGVTwmSx2wsTdS6voMoJ6chjV4LTQKVQ= Received: by 10.82.167.5 with SMTP id p5mr10181158bue.1175626840770; Tue, 03 Apr 2007 12:00:40 -0700 (PDT) Received: by 10.82.119.10 with HTTP; Tue, 3 Apr 2007 12:00:40 -0700 (PDT) Message-ID: <1d3ed48c0704031200w27431474h46a3f482f65b9bfe@mail.gmail.com> Date: Tue, 3 Apr 2007 12:00:40 -0700 From: "Kevin Downey" To: freebsd-questions@freebsd.org In-Reply-To: <4342.12.170.206.13.1175622392.squirrel@admintool.trueband.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4342.12.170.206.13.1175622392.squirrel@admintool.trueband.net> Subject: Re: ISO Image Size Increasing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 19:00:42 -0000 On 4/3/07, jhall@vandaliamo.net wrote: > I have run into a rather weird problem, that I am not sure how to correct. > > I have created a bootable CD for my FreeBSD systems which is approximately > 234 MB in size. While deploying the image, I found an error I would like > to correct. All I am doing is adding a symlink to a folder in the /home > directory. > > Please let me know if you see anything flawed in my procedure which may be > causing this problem. > > 1. Create a directory to work in /home/CDImage. > > 2. Copy the existing image to the /home/CDImage directory. > tar -cpf - /cdrom | tar -xpf - > > 3. Add the necessary symlink. > > 4. Create the ISO image. > /usr/local/bin/mkisofs -allow-leading-dots -l -R -T -iso-level 4 -b > boot/cdboot -no-emul-boot -o fwcd.iso CDImage > > > The image copied from the CD is approximately 234 MB in size, and the > image created by mkisofs is 664 MB. > > Any suggestions would be greatly appreciated. > > Thanks, > > > Jay It sounds like you may be running into a hardlink issue with iso9660. I saw a few mails about this on one of the mailing lists last month. Basicly hardlinks were not being copied off the cd as hardlinks, but as files. So instead of /bin/foo being a hardlink to /bin/bar you get /bin/foo and /bin/bar as seperate identical files. I would check the size of the /home/CDImage directory after copying the cd files to it. I am not sure if there is a fix. -- The biggest problem with communication is the illusion that it has occurred.