Você pode executar “fsck.ext2 -fycc / dev / mapper / truecrypt1” em um dispositivo Truecrypt não montado?

1

Você pode executar "fsck.ext2 -fycc / dev / mapper / truecrypt1" em um dispositivo Truecrypt não montado?

O "extra c" no -fycc faz com que ele faça uma leitura / gravação supostamente "não destrutiva" (semelhante ao que o Spinrite faz).

No entanto, como os dados são criptografados, não tenho certeza se isso de alguma forma danifica os dados.

Esta pergunta foi inspirada no seguinte (além de precisar verificar minha unidade, é claro):

Filesystem check (fsck) a Truecrypt volume: http://www.chazco.co.uk/post.php?po=23 You can now run the filesystem check. Start a terminal and run the following command, replacing "/dev/mapper/truecryptX" with the value you made a note of:

sudo fsck -C -f /dev/mapper/truecryptX

e

Bad blocks detected by fsck. SMART says disk is good : I suggest using the -c switch twice on fsck to force a read-write test of the sectors. This invokes the badblocks program. It it accomplishes roughly the same thing that GRC's SpinRite does. (SpinRite will work on any linux formatted drive, btw.)

Example fsck invocation: fsck.ext2 -fycc /dev/sdb1

Página de manual para fsck.ext2:

-c This option causes e2fsck to use badblocks(8) program to do a read-only scan of the device in order to find any bad blocks. If any bad blocks are found, they are added to the bad block inode to prevent them from being allo‐ cated to a file or directory. If this option is specified twice, then the bad block scan will be done using a non-destructive read-write test.

Agradeço antecipadamente por qualquer conselho.

    
por Mikeweb49 30.12.2012 / 09:20

0 respostas