[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24217: dd - root partition security
From: |
Pádraig Brady |
Subject: |
bug#24217: dd - root partition security |
Date: |
Sat, 13 Aug 2016 15:15:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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.