From nobody Tue Jan 11 10:48:42 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 5A084194C59D for ; Tue, 11 Jan 2022 10:48:47 +0000 (UTC) (envelope-from prvs=00108a9060=tuxgp@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JY6qy5pV1z3Dl7 for ; Tue, 11 Jan 2022 10:48:46 +0000 (UTC) (envelope-from prvs=00108a9060=tuxgp@freenet.de) Received: from [195.4.92.123] (helo=sub4.freenet.de) by mout3.freenet.de with esmtpa (ID tuxgp@freenet.de) (port 25) (Exim 4.92 #3) id 1n7Ehn-0002Dl-Sh for questions@freebsd.org; Tue, 11 Jan 2022 11:48:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lzsbVRznmonArAshlZ+xQuH32sxC/n6RBA7wuPi2zwo=; b=mdxQythBZyOUaB5fcEf7BAi0Q/ /1QJezRqdjXZfJYJwH2FEBFKxhVYSzHAeVAikmqMX1ZogWDvkBLkHooCH6tBBEJrF0iAJTZS5zIxP eQ4vJ92VgAYY+Pxv5glS/Jhp34cUlazsbzDx5BHdH6/Imf8Y3S79aNgvlPAg5OSzDLUZe5Mvd2DxK hVWSav8G4LDvSsFg1u7i8CqT9V/4QWRP6uC8LT5cpmYpwHphXDqn0amde6lBZdJRw4yP+TtzJhITy f2LjM643AE84tokRPbhMTxDmov+IHY5H24tQOeYlqgywgiTAc/zmOHpj7txnuJ9aJ8jsTrjCls5Uk Dz5mY/Ww==; Received: from ip-88-153-154-129.hsi04.unitymediagroup.de ([88.153.154.129]:47176 helo=[195.4.92.213]) by sub4.freenet.de with esmtpsa (ID tuxgp@freenet.de) (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (port 465) (Exim 4.92 #3) id 1n7Ehn-0004tn-Nq for questions@freebsd.org; Tue, 11 Jan 2022 11:48:43 +0100 Message-ID: Date: Tue, 11 Jan 2022 11:48:42 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: dd and mbr Content-Language: en-US To: questions@freebsd.org References: <4af920fc-eff1-a92e-d36e-1ba97079864c@gmail.com> <20220111104112.dd98218395b3edc567ab2031@sohara.org> From: =?UTF-8?Q?G=2eP=c3=b6tting?= In-Reply-To: <20220111104112.dd98218395b3edc567ab2031@sohara.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originated-At: 88.153.154.129!47176 X-FNSign: v=2 s=9CC6856041D7FBADDB8EDC4D5A132FC1B42E75D2A6EB102014C2412E016ABD09 X-Scan-TS: Tue, 11 Jan 2022 11:48:43 +0100 X-Rspamd-Queue-Id: 4JY6qy5pV1z3Dl7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=freenet.de header.s=mjaymdexmjqk header.b=mdxQythB; dmarc=none; spf=pass (mx1.freebsd.org: domain of "prvs=00108a9060=tuxgp@freenet.de" designates 2001:748:100:40::2:5 as permitted sender) smtp.mailfrom="prvs=00108a9060=tuxgp@freenet.de" X-Spamd-Result: default: False [-2.77 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[freenet.de]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:748:100:40::2:0/112]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[freenet.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[2001:748:100:40::2:5:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[freenet.de]; ASN(0.00)[asn:5430, ipnet:2001:748::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[tuxgp@freenet.de,prvs=00108a9060=tuxgp@freenet.de]; DWL_DNSWL_NONE(0.00)[freenet.de:dkim]; MID_RHS_MATCH_FROM(0.00)[]; R_MIXED_CHARSET(0.83)[subject]; R_DKIM_ALLOW(-0.20)[freenet.de:s=mjaymdexmjqk]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freenet.de]; FORGED_SENDER_VERP_SRS(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000] X-ThisMailContainsUnwantedMimeParts: N Hi, perhaps you can run dd if=/dev/zero of=/dev/da0 bs=512 count=1 conv=sync Am 11.01.22 um 11:41 schrieb Steve O'Hara-Smith: > On Tue, 11 Jan 2022 10:02:26 +0000 (UTC) > Roderick 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. >