Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.47 How come I can't get my machine into boot admin mode?"
Next document is "7.49 How does one package a set of files for HP-UX 9.X?"
7.48 What's a quick check to see if a fileset is installed on 9.x?
The following script will check to see if all the files in a fileset
are installed in the correct place. It does not check permissions
or that the kernel files are in the kernel. Certain filesets
have their own verify scripts ie:
NS-SERV has /usr/nettest/nsverify/ver_ns
STREAMS has /usr/bin/strvf
#!/bin/sh
FSET=/etc/filesets/$1
if [ "$FSET" = "" ]; then
echo "syntax of command $0 Filesetname "
exit 1
fi
if [ ! -f $FSET ]; then
echo "Fileset $FSET not found"
exit 1
fi
# simple test to see non zero size files of any type
while read File
do
if [ ! -s $File ]; then
echo "$File not found"
fi
done < $FSET
exit
(Thanks to Mike MacFaden <macfaden@kalpana.com>)
Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "7.47 How come I can't get my machine into boot admin mode?"
Next document is "7.49 How does one package a set of files for HP-UX 9.X?"