[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zerofree fuer andere Dateisysteme als extX



Am 03.11.2012 22:58, schrieb Thomas Jung:

Dachte es gaebe sowas auch unter linux.
Optimal waere das Nachbilden von

dd if=/dev/zero of=/dev/[partition] bs=4096 // as example

dann Meuanlegen von ntfs, aber im Gegensatz dazu ein Tool welches
Dateisystem der bestehenden Dateien bestehen laesst und auch in der
Dateisystemtabelle (MFT) "unnoetige" Eintraege "ausnullt".

Hast Du genug Platz auf einer anderen Partition und genug Zeit?

man ntfsclone sagt:

ntfsclone will efficiently clone (copy, save, backup, restore) or rescue an NTFS filesystem to a sparse file, image, device (partition) or standard output. It works at disk sector level and copies only the used data. Unused disk space becomes zero (cloning to sparse file), encoded with control codes (saving in special image format), left unchanged (cloning to a disk/partition) or filled with zeros (cloning to standard output).

also:

ntfsclone -s -o /mnt/hiervielplatz/image /dev/deinepartition && \
dd if=/dev/zero of=/dev/deinepartition bs=1024k && \
ntfsclone -r /mnt/hiervielplatz/image -O /dev/deinepartition

Keine Haftung für Nix. Rein nach manpage geschrieben und nicht selbst getestet. Wichtig ist das große O beim zweiten Aufruf.

Gruß
Stefan


Reply to: