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

Re: Detecting ro Filesystem



Bernd Eckenfels writes:
> Cause you can try to parse the mountpoint, but that will not catch other
> restrictions like ACLs, Labels and so on.

I don't think I need to worry about ACLs and such: the script can just fail
on those.  I'm specifically interested in ro mounts.

> The most easiest thing is to open the file for write, and perhaps even
> try to write to it.

Yes.
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI



Reply to: