delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/25/08:09:37

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6582386F451
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1593086932;
bh=3QaYn7Z60n+VhGbHro2lqAs0egNlkRYMYMr43wjhOIo=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=iahLRzAbOUNzwwj1bxQkrndWwi1KtVGB0uqBqErHXcSATEsVqK9D2iYWc0qU7PEAj
iibt5qMLFsAkABmz7Fg8pRWGDLjjID7eqsysux/zJxBv9PKcEQcbF8Y4zmESmE5KLU
hlwrT1S8wIgpi6jmmTlSyyVTvm+qI29H8it5P4bI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DDC0C3851C11
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=U9fv00dDcLg+HMqTHPv4EnkfphX23XpwCu7XRfunnZ60oCCJmrNoStQi8ii9byVFU5KwZIGa60uLZ+p5IFB32r/ObCKOq2XVzRLTDRXgYmY4TjRjGsOPFUI9O1X/sZ11IQkDkQyBzeN3+uGJV/foWKYbF96LGLGjBv1hqiVj30MVACtGuEpwwlAPhY0sT5gvJuDmTb7cPun6LSO+8hxBsVvBU0KkfbJpce44sEbIoTJtPL7JUC2++Jla+YGwtcFwd/i6k2BPH11k5/3sG+7I5cFkQjiW7RzCQL2Iiq2o81q2v9VTYu3M5pnJY1c1AvSeDJOOxxIRV7zeu+8ChHpXkA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=/zq97rjPtsfn5iceYYswFO9QRyZcNdUnU2BFTfd8z2A=;
b=ZtRBdNjRn7f6f99RLnNKfIye047A7P+2mRH9eEusixaEXZj1bnnk2jMoSFeyfaE2JHTU/0Hoz4/sVRdAVuP6VYgz5UwDo4px8FOp021qfLsX2x5f5pdnArvwCL1oPPekTQ/QBqiBtLNyIIyHf4OTY28nkW+DkmgDHMxO/T63exjit+mdYWUU3pFXzuH7DdvT8dAhTfJPWwSmBWsKUXJqSxTCm1r2HAOhmUYU1xPGoiuc4mVCf2JLBz4QJUIQe6fL3NpFgBfxFA/+mNwiTtfCE+emBvBpFutFhpRDP1pkTJ3ZGPzaUheQ7A9/jnQOtjhvyo2hddkjG+NPZu58ewvL0Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: [cygwin] DD bug fails to wipe last 48 sectors of a disk
Thread-Topic: [cygwin] DD bug fails to wipe last 48 sectors of a disk
Thread-Index: AQHWRlgtCZZ0g6noFEKBC6QD7s7xqKjgYswAgAAb2ayAAXbVgIAEYnXDgAAL3YCAADzJEIAA9SkAgADWv5o=
Date: Thu, 25 Jun 2020 12:08:46 +0000
Message-ID: <DB7PR01MB5193DE112A6F56F04CB40B8BD5950@DB7PR01MB5193.eurprd01.prod.exchangelabs.com>
References: <DB7PR01MB5193A18F1D947ED4C276CD25D5980 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
<1d1801d64677$bea56050$3bf020f0$@pdinc.us>
<DB7PR01MB5193CC1C7630FB13B81B9DBAD5980 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
<60bf1507-4edb-a03f-ec14-07e1ab7f0d94 AT cs DOT umass DOT edu>
<DB7PR01MB519396195ADB3E3E1217B22BD5940 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com>,
<CAKNeuBqZpacuUwTD6U+kKPGOO052VYhpRnttm=HYr7m+OT7tiA AT mail DOT gmail DOT com>
<DB7PR01MB519371C6CAE2D3CFFEF41DCAD5940 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com>,
<1814912576 DOT 20200624132126 AT yandex DOT ru>
In-Reply-To: <1814912576.20200624132126@yandex.ru>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:0F46B320EE5FE276DF84C725BDC1D79028BC0CD6290AE6BD35E058B49B9C43D8;
UpperCasedChecksum:73A062C6994E8A98000BDCCB4082ED513332AD8AF769B9E13AE22C9DAA226BC5;
SizeAsReceived:7405; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [BSMQySBFq5/1kUrsHPpn74K6wEyc5jvH]
x-ms-publictraffictype: Email
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 4dd1163c-a5a1-4306-ca97-08d819008332
x-ms-traffictypediagnostic: DB8EUR06HT137:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: QjYaOccpIKq9BeSQvwVJJNtc6Gk7MRxF2MGTMhRi4QE9hp4NnvaBRqxGvUTg9mfABxo+zCl3hz03pASeJhQjT4VfVlgZWsnO4PIljW8SaQhSVi/hmR3X/HL4Q5USNRQf/UDV2US5zHwNtSG61U9rgB2SvTogGAsL8FOy0WdU94MjIXjhPs+Q3VDSU3h5Uy8e7VO2nd5+jBvcWNI+63tkmw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:;
IPV:NLI; SFV:NSPM; H:DB7PR01MB5193.eurprd01.prod.exchangelabs.com; PTR:;
CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901;
x-ms-exchange-antispam-messagedata: duc4YTNbmbwkxMSsn77Rx1y6CAiAWwwHKHbtqRGMWTWGGp83HpxUvAhT0oE8gMZf9Fv0C3FVJQB+u1pPlrUA+fymbVTiFVttOpwaemspAttsbdoGC1jneeaIw46LPMAce2koZI6jIVJV1VC4vyaXow==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT048.eop-eur06.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 4dd1163c-a5a1-4306-ca97-08d819008332
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2020 12:08:46.4523 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT137
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Hashim Aziz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Hashim Aziz <hashaziz AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

I have no idea what bottom posting is, mailing lists are new to me and I find them a very archaic and noisy way to communicate development changes. I really wish the Cygwin dev team would enter the 21st century and move to a modern development process involving a repository like Github, I'm convinced it would increase developer engagement with the project massively while cutting down on so much of the noise.

I ran:

dd if=/dev/zero of=/dev/SDA bs=4m oflag=direct status=progress

...and can confirm the bug still presents - the last 48 sectors fail to be wiped.

________________________________
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Sent: 24 June 2020 11:21 AM
To: Hashim Aziz <hashaziz AT hotmail DOT com>; cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Subject: Re: [cygwin] DD bug fails to wipe last 48 sectors of a disk

Greetings, Hashim Aziz!

Bottom posting in this channel, please.

> I've just tested with the command:

> dd if=/dev/zero of=/dev/sda iflag=fullblock bs=4M status=progress

oflag=direct

Although I'm unsure how Cygwin/Windows handles it. But without this flag, the
write is cached, and the problem may be outside dd, or even Cygwin.

> ...and can confirm that the last 48 sectors remain unwiped in this case also.

> Here is the output:

> 1000182120448 bytes (1.0 TB, 931 GiB) copied, 8284 s, 121 MB/s
> dd: error writing '/dev/sda': No space left on device
> 238468+0 records in
> 238467+0 records out
> 1000204861440 bytes (1.0 TB, 932 GiB) copied, 8284.89 s, 121 MB/s


--
With best regards,
Andrey Repin
Wednesday, June 24, 2020 13:19:42

Sorry for my terrible english...

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019