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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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 |