bug#30174: shred bug - 1st byte written is wrong sometimes

2018-01-19 Thread devzero
Hi, i`m testing wear-levelling of an SLC USB Stick (cheap one i want to use them for long-term data-logging) and found shred to be a useful and fast utility to repeatedly overwrite a file's region (the datalogger i'm building will use rrdtool) As i already did some other testing before, shred ma

bug#30174: shred bug - 1st byte written is wrong sometimes

2018-01-19 Thread Paul Eggert
On 01/19/2018 10:19 AM, devz...@web.de wrote: shred is doing wrong. Looks like a bug to me. I don't see why it is a bug. It does appear to be intended behavior. Look in the source code, at src/shred.c, and look for "Invert the first bit of every sector."

bug#30174: shred bug - 1st byte written is wrong sometimes

2018-01-19 Thread Pádraig Brady
tag 30174 notabug close 30174 stop On 19/01/18 10:19, devz...@web.de wrote: > Hi, > > i`m testing wear-levelling of an SLC USB Stick (cheap one i want to > use them for long-term data-logging) and found shred to be a useful > and fast utility to repeatedly overwrite a file's region (the > datalo