On 1/21/21 7:00 PM, Alejandro Colomar (man-pages) wrote: > On 1/21/21 6:17 PM, Bernhard Voelker wrote: >> On 1/21/21 4:48 PM, Alejandro Colomar (man-pages) wrote: >>> - dd is quite dangerous, and I would avoid it for simple tasks. >> >> well, every tool which can overwrite something could be considered >> dangerous then, right? ;-) > > Well, it is, but dd is happy overwriting /dev/sda :)
That argument doesn't really hold: It's not 'dd' which allows this, but the kernel ... if the current user has permissions to write to '/dev/sda'. Consequently, 'tee /dev/sda' - with superuser permissions - will also overwrite. Have a nice day, Berny