From: Daniel Wehmeyer <fake@trash-mail.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] dd soll sich die Zeit einteilen=)
Date: Fri, 23 Sep 2005 22:44:01 +0200 [thread overview]
Message-ID: <200509232244.01858.fake@trash-mail.de> (raw)
In-Reply-To: <200509231827.35961.don.ande@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
Hallo,
Andreas Baier wrote:
> Standardprozedur: man lässt dd mittels /dev/urandom die Platte einmal
> überschreiben. Nur das dauert waaaahnsinning lange (300GB=/).
ich habe ausgerechnet bei mir würde das so etwa 48 Stunden dauern. Meine
CPU ist aber auch nicht besonders schnell. Wie wär's mit /dev/zero?
> Ist es daher möglich, dd abzubrechen, sich den geschriebenen Datensatz
> aufzuschreiben, um von dort am nächsten Tag weiterzumachen?
Ja, wie wäre es mit einem Skript? Ich bin zwar kein Skript-Profi, aber ich
lese gerade ein Buch darüber und ich dachte es wäre mal eine gute
Übung ;-) Also:
Bei DEV= legst Du dein Device fest, hier: sda
Dann das Skript starten z.B.: sudo ./hdshred
Das Skript fängt nun an /dev/sda platt zu machen, dabei werden die
geschriebenen Blocks in der Datei 'zaehler' zwischengespeichert. Wenn Du
das Skript mit Ctrl-C abbrichst und erneut startest, wird mit dem
nächsten Block weitergemacht.
Ich habe das Skript grob getestet, übernehme aber keinerlei Garantie!
Grüße,
DW.
--
My real email address:
echo "fake@trash-mail.de" | sed -e 's/fake/danweh/' -e 's/trash-mail/web/'
[-- Attachment #2: hdshred --]
[-- Type: application/x-shellscript, Size: 293 bytes --]
next prev parent reply other threads:[~2005-09-23 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 16:27 [gentoo-user-de] dd soll sich die Zeit einteilen=) Andreas Baier
2005-09-23 20:44 ` Daniel Wehmeyer [this message]
2005-09-25 13:46 ` Andreas Baier
2005-09-23 20:46 ` Emil Beinroth
2005-09-25 13:42 ` Andreas Baier
2005-09-23 21:58 ` Oliver Rath
2005-09-25 13:44 ` Andreas Baier
2005-09-26 7:05 ` Andreas Baier
2005-09-26 7:12 ` Bernd Wurst
2005-09-26 15:36 ` Daniel Wehmeyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200509232244.01858.fake@trash-mail.de \
--to=fake@trash-mail.de \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox