Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2022 10:02:26 +0000 (UTC)
From:      Roderick <hruodr@gmail.com>
To:        questions@freebsd.org
Subject:   dd and mbr
Message-ID:  <4af920fc-eff1-a92e-d36e-1ba97079864c@gmail.com>

next in thread | raw e-mail | index | archive | help

The command:

dd if=/dev/zero of=/dev/da0

does not delete the mbr, I still see the partition table with
fdisk. My questions:

(1) What does this command do?

(2) How to delete the mbr with dd? How to address the whole disk with dd?

In OpenBSD is simply

dd if=/dev/zero of=/dev/rsd0c

with perhaps a count argument.

Rod.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4af920fc-eff1-a92e-d36e-1ba97079864c>