#!/usr/bin/ksh
# Name:
# Genlist
#
# Purpose:
# To generate a list of files in the root volume group
#
# History:
#
# Date Author Comment
# ====== ============== ===============================================
# 990216 TD Created.
#
TMP=/tmp # Work directory
# find filesystems in root volume group
echo "Creating list of files in /dev/vg00"
for i in `cat /etc/fstab | grep vg00 | \
awk '{ if ( substr($2,1,1) == "/" ) print $2 }'`
do
find $i -xdev >> $TMP/file1.$$ # find files not crossing mount points
done
#### END OF SCRIPT