First of all, why are you trying to zero the device in the first place? that's entirely unrelated to "formatting" a partition with a UFS file system.
As for the dd issue, seems rather obvious... are you sure you're using the correct device node? post your dmesg.
|