GNU bug report logs -
#10493
coreutils shred fat32
Previous Next
Reported by: Leontiev Danil <YaTree <at> yandex.ru>
Date: Fri, 13 Jan 2012 07:53:02 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Thx for the answer.
first start:
[root <at> localhost usb]$ LANG=C shred -uvf /media/usb/test
shred: /media/usb/test: pass 1/3 (random)...
shred: /media/usb/test: pass 2/3 (random)...
shred: /media/usb/test: error writing at offset 0: Invalid argument
second start:
[root <at> localhost usb]$ LANG=C shred -uvf /media/usb/test
shred: /media/usb/test: pass 1/3 (random)...
shred: /media/usb/test: pass 2/3 (random)...
shred: /media/usb/test: pass 3/3 (random)...
shred: /media/usb/test: removing
shred: /media/usb/test: renamed to /media/usb/0000
shred: /media/usb/0000: renamed to /media/usb/000
shred: /media/usb/000: renamed to /media/usb/00
shred: /media/usb/00: renamed to /media/usb/1
shred: /media/usb/test: removed
I did insert debugging information in a source, I can send, and this log.
Obscure point is related to the variable "ssize", in which the first "run" to 4096. If you call the utility shred on device with a non-fat32 fs (i use ext2 i.e.), the value will -1.
Sorry for my english.
13.01.2012, 13:13, g.esp <at> free.fr:
> ----- Mail original -----
>
>> De: "Leontiev Danil" <YaTree <at> yandex.ru>
>> À: 10493 <at> debbugs.gnu.org
>> Envoyé: Vendredi 13 Janvier 2012 08:43:26
>> Objet: bug#10493: coreutils shred fat32
>>
>> Good Day.
>>
>> I have problem with using shred util.
>>
>> On usb-flash fs - FAT32
>> Files are not deleted from the first time.
>> The important point: file's size < 12kb
>>
>> [root <at> localhost re]# shred -uvf /media/usb/test
>> shred: /media/usb/test: проход 1/3 (random)...
>> shred: /media/usb/test: проход 2/3 (random)...
>> shred: /media/usb/test: error writing at offset 0: Invalid argument
>> <---- error
>>
>> [root <at> localhost re]# shred -uvf /media/usb/test
>> shred: /media/usb/test: проход 1/3 (random)...
>> shred: /media/usb/test: проход 2/3 (random)...
>> shred: /media/usb/test: проход 3/3 (random)...
>> shred: /media/usb/test: удаление
>> shred: /media/usb/test: переименован в /media/usb/0000
>> shred: /media/usb/0000: переименован в /media/usb/000
>> shred: /media/usb/000: переименован в /media/usb/00
>> shred: /media/usb/00: переименован в /media/usb/0
>> shred: /media/usb/test: удалён
>>
>> Best regards,
>> Leontiev Danila.
>
> Could you run the 2 commands with LANG=C for those that can read the messages above
>
> LANG=C shred -uvf /media/usb/test
>
> Gilles
This bug report was last modified 6 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.