[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting ro Filesystem

You write:
>What is a reliable, robust, and simple way to detect that a file is on a ro

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..."

Reply to: