solaris fmt fix, add detect_disk implementation for solaris