Fix issues with ioctl mapping, pool name references, and /dev/ in the device path when working on drives in a pool.