Getting the kernel to control the I/O