ryan f re-wrote write inode