bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24217: dd - root partition security


From: Assaf Gordon
Subject: bug#24217: dd - root partition security
Date: Sun, 28 Oct 2018 00:29:00 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]