From owner-freebsd-questions Sun Apr 14 20:22:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id DA8DE37B405 for ; Sun, 14 Apr 2002 20:22:10 -0700 (PDT) Received: from sdn-ar-003dcwashp206.dialsprint.net ([206.133.21.118] helo=moo.holy.cow) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16wx4D-0000bK-00 for freebsd-questions@freebsd.org; Sun, 14 Apr 2002 20:22:10 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 58B7750B8A; Sun, 14 Apr 2002 23:23:56 -0400 (EDT) Date: Sun, 14 Apr 2002 23:23:56 -0400 From: parv To: f-q Subject: correlation between mkisofs generated file and actual file size Message-ID: <20020415032356.GA93463@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG is there any correlation between mkisofs generated file and actual file size? i tried two three times, everytime i get "file system full". below are the statistics... # du -sk -d 2 /source/ports 520182 /source/ports/distfiles 722077 /source/ports # df /cdrw Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s3e 714447 1 657291 0% /cdrw ...last time, mkisofs was reporting "78.51% done" -- while creating image of /source/ports/distfiles -- "df /cdrw" was reporting "97%" capacity. that implies to create possibly 640 MB image, i need to reduce the total original file size to 408394 kB, or 398 MB. that's quite a waste! is my math wrong, or something else? below is the command that i used... mkisofs -N -T -J -R -D \ -max-iso9660-filenames -relaxed-filenames \ -allow-lowercase -allow-multidot -d -L \ -dir-mode 755 -file-mode 644 \ -o /cdrw/distfiles.iso \ -graft-points ports/=/source/ports \ /source/ports/distfiles -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message