# These directions are derived from 'man rsync' plus lots of trial and error
 
# For example, to force just a few files from a subdirectory to be on the
# ramdisk requires the following:
# a line with the + option listing the full filename without a leading /
# also each directory on the path must be listed using the + option
# these directories are listed without the leading / but with a trailing /
# and then each directory followed by a * has to be listed again, without the +

# An example for how to include a few common libs from
#   the /usr/lib directory and exclude the rest of /usr/lib

+ usr/lib/libstdc++*
+ usr/lib/libwrap.so*
+ usr/lib/*lam*
+ usr/lib/*mpich*
+ usr/lib/libpopt.[^a]*
+ usr/lib/locale/en_US*
#+ usr/lib/locale/
+ usr/lib/

+ usr/lib/libglib*
+ usr/lib/libdbus*
+ usr/lib/libpython*
+ usr/lib/libfont*
+ usr/lib/libssl*
+ usr/lib/libcrypto*
+ usr/lib/libnewt*
+ usr/lib/libslang*

/usr/lib/locale/*
/usr/lib/*
# To include anything from /usr/lib, it MUST appear above the previous line!

# And now the same thing for a 64 bit system:
+ usr/lib64/libstdc++*
+ usr/lib64/libwrap.so*
+ usr/lib64/*lam*
+ usr/lib64/*mpich*
+ usr/lib64/libpopt.[^a]*
+ usr/lib64/locale/en_US*
#+ usr/lib64/locale/
+ usr/lib64/
/usr/lib64/locale/*
/usr/lib64/*
# Remove source code
/usr/src/*
# To include anything from /usr/lib64, it MUST appear above the previous line!

############################################################################
# The rest of this file causes default things to be excluded from the ramdisk
# as would be appropriate for a diskless & headless compute cluster node.
############################################################################

+ usr/share/locale/locale.alias
+ usr/share/locale/
+ usr/share/hwdata/pcitable
+ usr/share/hwdata/
+ usr/share/
/usr/share/hwdata/*
/usr/share/locale/*
/usr/share/*
/usr/X11R6/*
/opt/IBMJava2-142/*
# Include some /var sub-subdirectories, exclude the rest and their files
+ var/lock/subsys
+ var/lib/nfs/statd
+ var/lib/nfs
+ var/run/netreport
+ var/run/
+ var/log/
+ var/lib/
+ var/log/wtmp
+ var/lib/rpm
+ var/opt
+ var/opt/csm
+ var/ct
+ var/adm
/var/*/*

# The ramdisk doesn't need most (if any) /boot stuff...
/boot/vmlinu*
/boot/initrd*
/boot/grub**

# The kernel modules are obtained from the master, not the VNFS
/lib/modules/*


# Exclude a bunch of individual files...


/bin/rpm
/bin/vi
/lib/libdb-*
/lib/libcrypto.so.*
/lib/libssl.so.*
/lib/libpwdb.*
/lib64/libdb-*
/lib64/libcrypto.so.*
/lib64/libssl.so.*
/lib64/libpwdb.*
/etc/termcap
/sbin/e2fsck
/sbin/fsck.ext2
/sbin/parted
/sbin/ppp-watch
/sbin/fdisk
/sbin/debugfs
/sbin/hdparm
/sbin/ldconfig
/sbin/sln
/sbin/mkraid
/sbin/arytst
/sbin/raidreconf
/sbin/lsraid
/sbin/raidstart
/sbin/pwdb_chkpwd
/sbin/pam_console_apply
/sbin/chkconfig
/sbin/generate-modprobe.conf
/sbin/sulogin
/sbin/resize2fs
/sbin/redhat-support-check
/usr/bin/tput
/usr/bin/clear
/usr/bin/tzselect
/usr/bin/captoinfo
/usr/bin/info
/usr/bin/glibcbug
/usr/bin/gpasswd
/usr/bin/su
/usr/sbin/adduser
/usr/sbin/glibc_post_upgrade
/usr/sbin/useradd
/usr/sbin/userdel
/usr/sbin/usermod
/usr/sbin/groupadd
/usr/sbin/groupdel
/usr/sbin/groupmod
/usr/sbin/pwconv
/usr/sbin/inetdconvert
/usr/sbin/alternatives
#/usr/sbin/chroot
/usr/sbin/chpasswd
/usr/sbin/vidmode

################# DO NOT ERASE THIS SECTION (begin)###############
################# DO NOT ERASE THIS SECTION (end) ################
