Flarcreate only on an /opt subdirectory

From: Richard Walton (rwalton@bama.ua.edu)
Date: Mon Nov 07 2005 - 15:19:38 EST


Hello All,

I am using flash archive (flarcreate) to create some Solaris 9 (12/03 and
9/05) images that will then be burned to a DVD (4 gig capacity). I can run a
base flarcreate that gets most of what I need (2 gigs) and exclude certain
directories due to size. I then want to run it again and only pick up
certain application directories (cherry pick) that have been excluded
previously and also exclude everything else as well. The problem is that I
keep getting one of the following errors depending on what options we use
with the flarcreate command.

Examples:

(1)

# flarcreate -n filename.flar -c -f /usr/local/directory/filename.txt -F
/usr/local/directory/filename.flar
Full Flash
Checking integrity...
ERROR: File / registred in package database - can not be excluded.
ERROR: Integrity check failed.
#

Contents of /usr/local/directory/filename.txt .... /opt/app_directory

(2)

# flarcreate -n filename.flar -c -R /opt/app_directory
/usr/local/directory/filename.flar
Full Flash
Checking integrity...
ERROR: fdo: Cannot open input %s:
/opt/app_directory/var/sadm/install/contents
ERROR: Integrity check failed.
#

(3)

# flarcreate -n filename.flar -c -x / -y /opt/app_directory
/usr/local/directory/filename.flar
Full Flash
Checking integrity...
ERROR: File / registred in package database - can not be excluded.
ERROR: Integrity check failed.
#

There are several other examples with different combinations/variations (-f,
-F, -R, -x, -X, -y) but they all have the same errors above. I even tried
ignore integrity check (-I), but the output was not correct and way to
small. Man pages, Sun website searches, and search engines have all helped,
but cannot get passed these issues. What have I missed or am I not using the
correct approach?

Assistance is greatly appreciated and will summarize.

Thanks,

Richard
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:35:02 EDT