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

Re: Detecting ro Filesystem



steve@einval.com wrote:
> 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...

Afaik /proc/mounts is available on Linux only.
                  cu andreas
-- 
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_
http://www.logic.univie.ac.at/~ametzler/debian/tin-snapshot/



Reply to: