Best POSIX way to determine if a filesystem is mounted read only Best POSIX way to determine if a filesystem is mounted read only unix unix