These are fun for me to read because I can see my progression as I learn more stuff. Since they all work, I still have these in production.
Major update to mklvfs.ksh
major update to mklvfs and fsgen
All scripts are for AIX versions 4.3.3 or 5.1.0 unless otherwise specified. Most have been used on AIX 5.2 as well. These are written for my environment and some will require modification. These have a very small chance of working on a non-AIX system. Believe it or not, these are largely original.
Simple:
More complex:
Written for v5.8.8 (base) on AIX unless otherwise indicated.
I have two things in my .profile, everything else is in .kshrc
df -k|awk '{print $4,$7}'|sort -nr : sort fs by size/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q <QUEUENAME> -h <HOSTNAME> -r <REMOTEQUEUENAME> -t bsd "<DESCRIPTION>" : create a JetForms print queuegrep -p nfs /etc/filesystems | awk -F: ' /:/ {system("mount "$1}' : find and mount all nfs