Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2002 23:23:56 -0400
From:      parv <parv@pair.com>
To:        f-q <freebsd-questions@freebsd.org>
Subject:   correlation between mkisofs generated file and actual file size
Message-ID:  <20020415032356.GA93463@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020415032356.GA93463>