mkisofs syntax question

mkisofs syntax question

Post by Dances With Cro » Thu, 11 May 2000 04:00:00



On Thu, 11 May 2000 00:12:13 GMT, JEDIDIAH

>     I would like to invoke mkisofs in a manner similar to:

>mkisofs -options -o somefile.img /usr/local/foo /usr/local/bar

>    such that the results would be equivalent to:

>mkisofs -options -o somefile.img /tmp/staging_area

>    where /tmp/staging_area contains:



>    The syntax I am currently using probes all of the directories
>    given on the commandline and 'flattens' out everything such
>    that every directory in /usr/local/foo and /usr/local/bar are
>    in the root of the iso filesystem.

mkisofs -options -o crud.iso /foo/=/usr/local/foo/ /bar/=/usr/local/bar/

That little trick for mkisofs is easy to miss... handy sometimes
though.  HTH.

--
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid,
But only Light too dim for us to see      \#| as I have to run nothing but a
(Unless, of course, you're working with NT)\| burp in the butt.  --MegaHAL

 
 
 

mkisofs syntax question

Post by JEDIDI » Fri, 12 May 2000 04:00:00


         Hullo all.

         I would like to invoke mkisofs in a manner similar to:

mkisofs -options -o somefile.img /usr/local/foo /usr/local/bar

        such that the results would be equivalent to:

mkisofs -options -o somefile.img /tmp/staging_area

        where /tmp/staging_area contains:



        The syntax I am currently using probes all of the directories
        given on the commandline and 'flattens' out everything such
        that every directory in /usr/local/foo and /usr/local/bar are
        in the root of the iso filesystem.

        Also, acceptable would be an iso filesystem where the full
        paths are replicated as input on the commandline and the
        root of the iso filsystem would contain /usr.

        I'd like to avoid the creation of a staging area (either with
        symlinks or bulk file copying).

--

    In what language does 'open' mean 'execute the evil contents of'    |||
    a document?      --Les Mikesell                                    / | \

                                      Need sane PPP docs? Try penguin.lvcm.com.

 
 
 

mkisofs syntax question

Post by JEDIDI » Fri, 12 May 2000 04:00:00



>On Thu, 11 May 2000 00:12:13 GMT, JEDIDIAH

>>         I would like to invoke mkisofs in a manner similar to:

>>mkisofs -options -o somefile.img /usr/local/foo /usr/local/bar

>>        such that the results would be equivalent to:

>>mkisofs -options -o somefile.img /tmp/staging_area

>>        where /tmp/staging_area contains:



>>        The syntax I am currently using probes all of the directories
>>        given on the commandline and 'flattens' out everything such
>>        that every directory in /usr/local/foo and /usr/local/bar are
>>        in the root of the iso filesystem.

>mkisofs -options -o crud.iso /foo/=/usr/local/foo/ /bar/=/usr/local/bar/

        It worked like a charm. Thanks.

[deletia]
--

    In what language does 'open' mean 'execute the evil contents of'    |||
    a document?      --Les Mikesell                                    / | \

                                      Need sane PPP docs? Try penguin.lvcm.com.