Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 12:36:37 -0400
From:      parv <parv@pair.com>
To:        "Brian T. Schellenberger" <bts@babbleon.org>
Cc:        f-q <freebsd-questions@FreeBSD.ORG>
Subject:   Re: correlation between mkisofs generated file and actual file size
Message-ID:  <20020415163637.GA73557@moo.holy.cow>
In-Reply-To: <20020415122827.E9435BB39@i8k.babbleon.org>
References:  <20020415032356.GA93463@moo.holy.cow> <20020415122827.E9435BB39@i8k.babbleon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20020415122827.E9435BB39@i8k.babbleon.org>,
wrote Brian T. Schellenberger thusly...
>
> On Sunday 14 April 2002 11:23 pm, parv wrote:
> | is there any correlation between mkisofs generated file and actual
> | file size?
...
> | ...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?
> 
> Well, there *is* overhead in iso 9660 vs. other file systems,

i am aware of the overhead, but this time it was too much...


> and you are adding to the overhead by enabling
> 
>  - trans.tbl
>  - joliet records
>  - rock ridge
> 
> It seems a little to me to enable all of these file system
> descriptors (as if you want a very portable disk) and at the same
> time use the "very dangerous" options like -D and
> -max-iso9660-filenames and -relaxed-filenames and -allow-lowercase
> and -d and so forth.  As you sure that you want to do that?

it was my ignorance that made me do it ...  reading the man page
only introduced more options...

well, i added all those options so that i could keep file names as
they are w/o being them shortened or uppercases and such.  i don't
have any windows or apple users to support.  i am creating the image
to backup my system, nothing more.  i will drop extraneous options
and try again.


> So I suspect that something like
>
> mkisofs -R -J -apple -dir-mode 755 -file-mode 644 \
>  -o /cdrw/distfiles.iso \
>  -graft-points ports/=/source/ports \
>  /source/ports/distfiles
>
> Would be both more portable and lower overhead.

as long as the cd is portable with freebsd & netbsd, i am happy.

brian, i much appreciate your reply.


 - parv

-- 
 

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?20020415163637.GA73557>