catch ioctl