GNU bug report logs - #24217
dd: add root partition checks/confirmation

Previous Next

Package: coreutils;

Reported by: David Hedlund <public <at> beloved.name>

Date: Sat, 13 Aug 2016 11:35:02 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24217 in the body.
You can then email your comments to 24217 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#24217; Package coreutils. (Sat, 13 Aug 2016 11:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Hedlund <public <at> beloved.name>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 13 Aug 2016 11:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Hedlund <public <at> beloved.name>
To: bug-coreutils <at> gnu.org
Subject: dd - root partition security
Date: Sat, 13 Aug 2016 13:34:01 +0200
rm / # do not remove root partition
rm -f / will remove root partition

In my opinion:

dd of=/dev/sda # will destroy sda even if it is a root partition, it 
should not
dd -f of=/dev/sda # -f flag do not exists for dd, it should be added so 
it can force a write if the previous step is implemented


Please leave feedback.




Information forwarded to bug-coreutils <at> gnu.org:
bug#24217; Package coreutils. (Sat, 13 Aug 2016 14:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 24217 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: David Hedlund <public <at> beloved.name>, 24217 <at> debbugs.gnu.org
Subject: Re: bug#24217: dd - root partition security
Date: Sat, 13 Aug 2016 15:15:02 +0100
On 13/08/16 12:34, David Hedlund wrote:
> rm / # do not remove root partition
> rm -f / will remove root partition
> 
> In my opinion:
> 
> dd of=/dev/sda # will destroy sda even if it is a root partition, it 
> should not
> dd -f of=/dev/sda # -f flag do not exists for dd, it should be added so 
> it can force a write if the previous step is implemented

Since dd is a lower level and much less widely/frequently used tool,
I don't think it's warranted.





Information forwarded to bug-coreutils <at> gnu.org:
bug#24217; Package coreutils. (Sun, 28 Oct 2018 06:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 24217 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 24217 <at> debbugs.gnu.org
Subject: Re: bug#24217: dd - root partition security
Date: Sun, 28 Oct 2018 00:29:00 -0600
retitle 24217 dd: add root partition checks/confirmation
severity 24217 wishlist
tags 24217 wontfix
close 24217
stop

(triaging old bugs)

On 2016-08-13 8:15 a.m., Pádraig Brady wrote:
> On 13/08/16 12:34, David Hedlund wrote:
>> rm / # do not remove root partition
>> rm -f / will remove root partition
>>
>> In my opinion:
>>
>> dd of=/dev/sda # will destroy sda even if it is a root partition, it
>> should not
>> dd -f of=/dev/sda # -f flag do not exists for dd, it should be added so
>> it can force a write if the previous step is implemented
> 
> Since dd is a lower level and much less widely/frequently used tool,
> I don't think it's warranted.

With no further comments in 2 years,
I'm closing this bug.
Discussion can continue by replying to this thread.

-assaf






Changed bug title to 'dd: add root partition checks/confirmation' from 'dd - root partition security' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 06:30:03 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 06:30:03 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 06:30:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 24217 <at> debbugs.gnu.org and David Hedlund <public <at> beloved.name> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 28 Oct 2018 06:30:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 25 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.