amend the file des in ioctl