Re: dd and mbr

From: Steve O'Hara-Smith <steve_at_sohara.org>
Date: Tue, 11 Jan 2022 10:41:12 UTC
On Tue, 11 Jan 2022 10:02:26 +0000 (UTC)
Roderick <hruodr@gmail.com> wrote:

> 
> The command:
> 
> dd if=/dev/zero of=/dev/da0
> 
> does not delete the mbr, I still see the partition table with
> fdisk. My questions:

	It does delete the partition table, but fdisk is showing you cached
data - the clue is in this bit of the output:

             ******* Working on device /dev/ada0 *******
             parameters extracted from in-core disklabel are:

	I thought there was a way to get fdisk to read directly but I
can't find it in the man page now.

-- 
Steve O'Hara-Smith <steve@sohara.org>