using statvfs() now; checking for read-only state as a bool