Solved

Using a diskeditor

Posted on 1998-09-10
4
135 Views
Last Modified: 2010-04-27
I want to get some experience with using a diskeditor, for example that of Norton Utilities. Is there any workshop or howto or even collection of tips available?
Thanks for answer.
0
Comment
Question by:mitoda
  • 2
  • 2
4 Comments
 

Author Comment

by:mitoda
ID: 1010430
Edited text of question
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 100 total points
ID: 1010431
If you are going to use a disk editor you need to have a through understanding of the structure of FAT type disks. Peter Norton has writting several books about DOS and disk internals and Que has a DOS programmers reference guide that analyzes FAT structures byte-by-byte.

If you're going to tinker with a disk editor *PRACTICE ON FLOPPYS*.

It is *VERY* easy to destroy a disk, if you drill a hole in your hard drive you will be well and truely hosed. (I had a friend who was tinkering with a program and inadvertantly wrote sequential data to his HD FAT - this linked the entire drive into ONE LARGE FILE! - no recovery except from backup!)

You can practice with floppies as their structure is the same as the HD with the exception of the cluster size being small. You can also make bootable floppies that are essentially identical to bootable HD's.

If you have to do HD experiments, add a 2nd drive and work on THAT so your primary disk won't get clobbered when you screw with the partition data.

If your system is windows based you'll have to shut down to DOS and run LOCK to allow you low level access to the drive.

M

0
 

Author Comment

by:mitoda
ID: 1010432
Thankyou mark2150 for your comment.
Of course I know that it is dangerous and could lead to data loss.
But what I wanted to know is: is there any step by step introduction for a first experience available, may be with examples how to handle special tasks or problems. May be this could be got online too. Or how to manage the first steps? Besides knowledge about FAT, are there others absolute conditions?
Thanks.

m
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1010433
FAT knowledge *IS* the key to how the disk operates. It's really not that complex. The FAT is a table of the clusters and each cluster's entry tells if it's used, free, bad, etc. Files are chains of clusters. The Directory is a reserved area with a file name, time/date stamp, flags, and pointer to first cluster. Each cluster has pointer to next. That, in a nutshell, is that.

You get into Clynder/head/sectors and such, but overall the disk structure is fairly straight forward. I'ts a real thrill the first time you manually recover an "erased" file by changing the first char of the file name and *pow* the file is back!

The exact "step by step" process depends on what you're trying to learn. I've manually gone into the FAT and marked a cluster BAD and then seen it appear that way on DEFRAG. You can rename files by editing the directory entries and changing the attribute flags - fun stuff. Chase a file across the disk from the directory entry to the tail, one cluster at a time.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now