|
-
July 6th, 2010, 01:33 PM
#1
Mbr
Hi Members
How to read MBR table for FAT and NTFS?I am new in programing as well as forum,so please give me tutorial link or example?
Forum ever reply help me.
-
July 6th, 2010, 02:50 PM
#2
Re: Mbr
Could you say why you need it (MBR)?
Victor Nijegorodov
-
July 6th, 2010, 03:18 PM
#3
Re: Mbr
You can just open the raw disk device:
Code:
CFile f,w;
unsigned char buf[512];
f.Open(L"\\\\.\\PHYSICALDRIVE0",0);
f.Read(buf,512);
f.Close();
-
July 7th, 2010, 01:04 AM
#4
Re: Mbr
 Originally Posted by hoxsiew
You can just open the raw disk device:
That will only give you the data of track 0. It doesn't enable you to read the FAT/MBR if you don't know how to interpret the data of track 0.
-
July 7th, 2010, 08:26 AM
#5
Re: Mbr
 Originally Posted by Skizmo
That will only give you the data of track 0. It doesn't enable you to read the FAT/MBR if you don't know how to interpret the data of track 0.
Agreed, but the OP asked how to read it, not interpret it.
-
July 7th, 2010, 08:39 AM
#6
Re: Mbr
the interpretation is just the same as when you would be able to read sectors explicitely as well. you would "need to know" how to interpret it then also.
opening the disk as a physical volums essentially puts all the sectors of the disk one after the other and you can access it linearly using the known file functions. It takes the cylinder/track/sector calculations out of the issue so it's a lot simpler at least. But interpretation still is the same.
-
July 7th, 2010, 10:53 AM
#7
Re: Mbr
 Originally Posted by VictorN
Could you say why you need it (MBR)?
For retrieve deleted folder and files.
-
July 7th, 2010, 11:20 AM
#8
Re: Mbr
 Originally Posted by calme
For retrieve deleted folder and files.
Why not just use one of the many utilities out there that do that already?
-
July 7th, 2010, 11:37 AM
#9
Re: Mbr
 Originally Posted by GCDEF
Why not just use one of the many utilities out there that do that already?
Sir i need to write program.I know there are so many utilities present here.
-
July 7th, 2010, 11:39 AM
#10
Re: Mbr
 Originally Posted by calme
Sir i need to write program.I know there are so many utilities present here.
Sir, you have no posting history here and you're asking questions that indicate you could be up to no good. You won't get that kind of help here, so you'll need to explain why you're asking what you're asking.
-
July 7th, 2010, 11:49 AM
#11
Re: Mbr
 Originally Posted by GCDEF
Sir, you have no posting history here and you're asking questions that indicate you could be up to no good. You won't get that kind of help here, so you'll need to explain why you're asking what you're asking.
Sir so many expert here.I ask How to read MBR table for FAT and NTFS? I think in MBR have some kind of information,so i ask How to read MBR table for FAT and NTFS.
If i am wrong then please give me information how to get deleted folder and file.
-
July 7th, 2010, 11:55 AM
#12
Re: Mbr
 Originally Posted by calme
Sir so many expert here.I ask How to read MBR table for FAT and NTFS? I think in MBR have some kind of information,so i ask How to read MBR table for FAT and NTFS.
If i am wrong then please give me information how to get deleted folder and file.
And I asked why not just download one of the utilities that are available, which is a reasonable question, and you got snippy.
Personally, I have no idea, but if my goal was to retrieve deleted files, I'd let somebody else do the work and use what was out there.
-
July 7th, 2010, 11:59 AM
#13
Re: Mbr
 Originally Posted by calme
Sir so many expert here.I ask How to read MBR table for FAT and NTFS? I think in MBR have some kind of information,so i ask How to read MBR table for FAT and NTFS.
What does MBR ( http://en.wikipedia.org/wiki/Master_boot_record ) have to do with File Allocation Table? with deleted folder and files?
Victor Nijegorodov
-
July 7th, 2010, 12:01 PM
#14
Re: Mbr
 Originally Posted by GCDEF
And I asked why not just download one of the utilities that are available, which is a reasonable question, and you got snippy.
Personally, I have no idea, but if my goal was to retrieve deleted files, I'd let somebody else do the work and use what was out there.
ok sir i am waiting for document...
-
July 7th, 2010, 12:02 PM
#15
Re: Mbr
 Originally Posted by calme
ok sir i am waiting for document...
You don't seem to be paying attention here, but enjoy the wait.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|