fix fdisk format, awk, and proc/self/fd