You write: >What is a reliable, robust, and simple way to detect that a file is on a ro >filesystem? You could parse the output of /proc/mounts and see that way... -- Steve McIntyre, Cambridge, UK. steve@einval.com <a href=http://www.rpg-soc.ucam.org/curs/>CURS home page</a> "Can't keep my eyes from the circling sky, "Tongue-tied & twisted, Just an earth-bound misfit, I..."