This comes from an attribute on the directory partition head called instancetype. This is a bit mask. If bit 3 (0×4) is set, the directory partition is writable. If the bit is not set, the directory partition is read only.