bug#24217: dd - root partition security

2016-08-13 Thread Pádraig Brady
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

bug#24217: dd - root partition security

2016-08-13 Thread David Hedlund
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