porting ramfs open