Unix Technical Forum

flarcreate for just /opt

This is a discussion on flarcreate for just /opt within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hello, Have an existing flash sol9 install for the OS. Have now installed some apps in /opt. Looking at ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008, 07:55 AM
ton de w
 
Posts: n/a
Default flarcreate for just /opt

Hello,
Have an existing flash sol9 install for the OS. Have now installed some
apps in /opt.
Looking at the man pages I thought I would try:
root # flarcreate -n app_20.flar -R/opt -S -c app_20.flar
Full Flash
Checking integrity...
ERROR: fdo: Cannot open input %s: /opt/var/sadm/install/contents
ERROR: Integrity check failed.
root # flarcreate -I -n app_20.flar -R/opt -S -c app_20.flar
Full Flash
No integrity check. Option "-I" set.
Running precreation scripts...
Precreation scripts done.
Creating the archive...
cat: cannot open /opt/etc/nodename
/usr/sbin/flarcreate[50]: /opt/var/sadm/system/admin/INST_RELEASE: not
found

Clearly I am using a wrong approach here.

But what is the right one?

TIA

Ton

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-09-2008, 07:56 AM
Markus Gyger
 
Posts: n/a
Default Re: flarcreate for just /opt

ton de w writes:
> root # flarcreate -n app_20.flar -R/opt -S -c app_20.flar


Use -R _only_ for diskless clients, AutoClients, during
Solaris install, or for flash archives that are temporarily
extracted. You probably want to use something like:

# find /opt | sort -r |
> flarcreate -n s9-opt -S -H -c -f /dev/stdin -F s9-opt.flar


(There might be simpler ways with newer versions of
flarcreate -- check with Google for old postings in
comp.unix.solaris or bigadmin.com).


Markus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com