From nobody Tue Jan 11 10:40:50 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1130B1948BA9 for ; Tue, 11 Jan 2022 10:41:08 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JY6g73zJQz4tV0 for ; Tue, 11 Jan 2022 10:41:07 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-io1-xd2e.google.com with SMTP id y70so21817577iof.2 for ; Tue, 11 Jan 2022 02:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=72WUU+w9nHaDQKIzQ9vGJKsU92ZJOZx7rvoFB9lFm1g=; b=TsqFDZ/rTO1yo304p8MUWpRdHMw5XVP3YU1oSlPrziWEV/aYIV/uoE/uE7TxkpsB7h tpDBUIEYdaXhMsN1+mpvH3VRx/3QuGAZJswuiiIS/6gNIQqEn9USJYGax8YCAEk2CXFb E9cr+54oiVOFWdde8gvU0jGl/c0ZTvufswX2Ip5yL+oL8zC69yMU4N0KzH/ntRhfOhDM iSpRCfeTy7V80dJa89JLWDqesTIRy2jUFMoyh9Qp6kMueUcNmDQHGi0vgBIMIfQEgYmc 0GrRNUfnJGYD9Fe0yrsVtKadjPlVBhGh61vsRZoQEg89tj2sglErlaFu5ngFW4L93Wwd ccmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=72WUU+w9nHaDQKIzQ9vGJKsU92ZJOZx7rvoFB9lFm1g=; b=e7I84rWrg8qnvGLeg0wT/2BgGQjZUP7wOf23+EyGtMsZXT0LLfKCiDCQEjIa9dQYlb V0zBNOZdqPeJUy+UkqJ6R5TOCDjaLtN8XZv1ms3GDHdAzfuF+3ZH3ttvXljD9SJwd8Mo bNZz/fG1SVudVnl/2nryIxYLYOPwUqgCIZSP1bJrtGzZhQJbQMgUHSed7wGyyo+GGkUC z9sdqGSGQPpvN4pGVoxvq7h4qenMsw2BlmgSw2eFch4L3ohYBSc1lkNbg1mlJGDBlsCt m9lfYusddDyKjSN+85VO+0A0/+8lWPjE/HvhXUCVD39xLqRjs90UzC1fzUhvFoa8EyPD MPHQ== X-Gm-Message-State: AOAM532oWJfixS8ipp6kKUc2mOYs+MD8T5LRIdJ3IdA0nmNb7PvelS1+ Z4yjl6MbrqpLQ7MgZgKLr6BuOOO857r2SqX+Mr7r6vlBI8+PHg== X-Google-Smtp-Source: ABdhPJxlpSx0GsKw9ZifgTf2kg9e5lg1SSImjavI1y5hPVocIbm1ac7Q+1TkRGkcKZLSMI4mP35b+kOShD9lgyVx4ek= X-Received: by 2002:a02:cb0b:: with SMTP id j11mr1777341jap.190.1641897661355; Tue, 11 Jan 2022 02:41:01 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4af920fc-eff1-a92e-d36e-1ba97079864c@gmail.com> <20220111111141.4bd7a6cb@archlinux> <99901737-c828-11f9-d694-90c29e61f967@gmail.com> In-Reply-To: <99901737-c828-11f9-d694-90c29e61f967@gmail.com> From: Michael Schuster Date: Tue, 11 Jan 2022 11:40:50 +0100 Message-ID: Subject: Re: dd and mbr To: Roderick Cc: questions Content-Type: multipart/alternative; boundary="000000000000dcdb1f05d54c16bf" X-Rspamd-Queue-Id: 4JY6g73zJQz4tV0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000dcdb1f05d54c16bf Content-Type: text/plain; charset="UTF-8" Roderick, On Tue, Jan 11, 2022 at 11:29 AM Roderick wrote: > > 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? > I think Ralf was asking "did you use count=1?" - IOW, how much did you overwrite. regards Michael > > 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 > > > > ? > > > > > > -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion' --000000000000dcdb1f05d54c16bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Roderick,
<= br>
On Tue,= Jan 11, 2022 at 11:29 AM Roderick <= hruodr@gmail.com> wrote:

No. That does not work. That is why I am asking.

bs=3D512 is the default. Without count is more than with count.
How did you come to the idea that that would work?
I think Ralf was asking "did you use count= =3D1?" - IOW, how much did you overwrite.

=
regards
Michael

Rod.

On Tue, 11 Jan 2022, Ralf Mardorf wrote:

> On Tue, 11 Jan 2022 10:02:26 +0000 (UTC), Roderick wrote:
>> dd if=3D/dev/zero of=3D/dev/da0
>
> dd if=3D/dev/zero of=3D/dev/da0 bs=3D512 count=3D1
>
> or
>
> dd if=3D/dev/zero of=3D/dev/da0 bs=3D512
>
> ?
>
>



--
recursion, n: see 'rec= ursion'
--000000000000dcdb1f05d54c16bf--