added hmr_rm ioctl