I've written a script that will do the legwork of preparing /dev/hda2 (and /dev/hdc2 if it exists) as a /programs0 (/programs1) mount. It formats the partitions with the -N 50000 parameter. It also adds /bin/rwp and /bin/rop to make them writeable/read-only and populates /etc/preinit.d with startup scripts for various apps, including one to mount the parition(s) read-only at boot. It's intelligent enough to skip parts that have already been completed...ie if your /dev/hda2 parition is already formatted, then it will not re-format it.
Look in the
/programs and preinit - the easy way thread in programming for more details. Since this is still a work in progress (I'm adding preinit scripts as I find more apps), look for the latest attachment from me..