[nflug] Making A CD Into A Zip File While Preserving Permissions (A Bit OT)...

Robert Meyer meyer_rm at yahoo.com
Thu Feb 9 14:39:10 EST 2006


The only chance that you have is to make an ISO image of the CD, copy the image
to the server, loopback mount the ISO and work from there.

In Solaris, do a 'man lofi' to find out how loopbacks work.  You will probably
have to do something like:
lofiadm -a file.iso /dev/lofi/1
mount -F hsfs -o ro /dev/lofi/1 /mnt

It will mount the CDrom image as /mnt in readonly mode.  Don't try to make it
read/write or bad things will happen.

Hope this helps...

Cheers!

Bob


--- DANIEL MAGNUSZEWSKI <dmagnuszewski at mandtbank.com> wrote:

> All,
> 
> I have a dilemma. I have a CD for an application for a Solaris server.
> The Solaris server is not in this state. In an effort to do this from my
> desk, I tried creating a zip file of all the contents of the CD on my
> Windows XP workstation, and SCP'd the zip files over to the server. I
> unzipped the file and began to install the application - all this
> involves is running one shell script which will in turn run other
> scripts. The CD contains scripts/files of various permission levels.
> When I tried running the script, I kept getting errors about various
> other scripts not being able to execute.
> 
> Is there any way that I can zip/tar/copy all the contents of a CD on a
> Windows XP workstation, SCP it to a Solaris server, unzip/untar it, and
> preserve the file permissions?
> 
> Thoughts?
> 
> -Dan
> 
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list