On Mon, 03 Jun 2002 20:07, Damian G wrote:
> On Mon, 3 Jun 2002 12:24:44 +0530
>
> <[EMAIL PROTECTED]> wrote:
> > Hi all! Once again, what is the exact syntax to mount all three iso
> > images from mandrake 8.2 into one big file?
> >
> > I iunderstood that it's something like:
> > mkdir /cdrom
> > mount (and some option) iso-file, etc
> >
> > DO I have to issue the mount command three times (once for each file), or
> > is there a way to mount all three at once?
> >
> > Thanks, Michael
>
> well, to mount a ISO image on a directory, you do
>
> mount -t iso9660 -o loop /path/to/file.iso /directory/to/mount
>
> of course you need to do it once for every iso you mount, but that doesn't
> mean it has to take more than one line. i think you can do
> mount ( blah blah parameters ) ; mount ( blah blah more parameters ) ;
> mount ( and so on )
>
> uhmm.. or better yet, if you are going to use this frequently, you could
> make an alias .. like
>
> alias mntiso= mount -t iso9660 -o loop
>
> to make things faster.
>
> HTH
>
> Damian

The better, more profesional way would be to write a script called "mntiso".

-------
#!/bin/bash
mount -t iso9660 -o loop /path/to/file1.iso /iso1
mount -t iso9660 -o loop /path/to/file2.iso /iso2
mount -t iso9660 -o loop /path/to/file3.iso /iso3
--------

and run it with "./mntiso"

-- 
Michael

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to