[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10493: coreutils shred fat32
From: |
Leontiev Danil |
Subject: |
bug#10493: coreutils shred fat32 |
Date: |
Fri, 13 Jan 2012 13:49:46 +0400 |
Thx for the answer.
first start:
address@hidden 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:
address@hidden 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, address@hidden:
> ----- Mail original -----
>
>> De: "Leontiev Danil" <address@hidden>
>> À: address@hidden
>> 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
>>
>> address@hidden 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
>>
>> address@hidden 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