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

Darin Perusich Darin.Perusich at cognigencorp.com
Thu Feb 9 15:09:39 EST 2006


you can steam line the below 2 steps into one.

mount -F hsfs -o ro `lofiadm -a /path/to/file.iso` /mnt

Robert Meyer wrote:

> 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

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list