Add wm_querydisk implementation