On Thu, 3 Feb 2005, Peter Eisch wrote: >Is there a variable set by anaconda that describes the target for the >install that I could pick up on the %pre? Don't know of one. > I have not tried it yet, but I could forsee trying to mount every >conceivable root filesystem hda, sda, etc. to see if /etc/openssl/certs >exists. It's worse than that - you have to create the device nodes. For just the single file existence test, one strategy would be: foreach "Linux" partition as determined by /proc/partitions and fdisk { use debugfs to list the directory of cat the file, and die if appropriate } Gain bonus points for correctly handling LVM-based filesystems. Cheers, Phil