Bruce Tong wrote:
> I want to damage my file system. Not irreparably, but bad enough such that
> it doesn't automatically get fixed when the system is starting up. I know
> there's a level of damage where it stops and makes you run fsck yourself
> and that's what I need to do.
I'm not sure if this would work (I don't have a system to trash :), but
the first thing that comes to my mind is something like:
# dd if=/dev/zero of=/dev/hda5 count=1000
(substituting the device you wish to munge of course)
Now I'm pretty sure it's going to hoark up your filesystem. To what
extent I have no idea. You may have to play around with the seek option
to dd. If you try this, I'd be curious as to the results.
Whatever you do, unless you don't mind risking the physical hardware,
don't do the power-cycle-many-times thing. PC power supplies aren't
spec'd to take that kind of abuse, and you stand a good chance of
toasting your motherboard and hard drives.
Kirk Rafferty
[EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.