Re: dd and mbr
- In reply to: Roderick : "Re: dd and mbr"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jan 2022 10:40:03 UTC
Hi, in FreeBSD 13 AMD64 you can get the device name with fdisk -s: $ sudo fdisk -s /dev/ada0: 484521 cyl 16 hd 63 sec Part Start Size Type Flags 1: 1 488397167 0xee 0x00 -i Initialize sector 0 of the disk. Existing slice entries will be cleared (marked as unused) before editing. (Compare with -u.) -I Initialize sector 0 slice table for one FreeBSD slice covering the entire disk. # fdisk -i /dev/ada0 or # fdisk -I /dev/ada0 Am 11.01.22 um 11:25 schrieb Roderick: > > No. That does not work. That is why I am asking. > > bs=512 is the default. Without count is more than with count. > How did you come to the idea that that would work? > > Rod. > > On Tue, 11 Jan 2022, Ralf Mardorf wrote: > >> On Tue, 11 Jan 2022 10:02:26 +0000 (UTC), Roderick wrote: >>> dd if=/dev/zero of=/dev/da0 >> >> dd if=/dev/zero of=/dev/da0 bs=512 count=1 >> >> or >> >> dd if=/dev/zero of=/dev/da0 bs=512 >> >> ? >> >> >