LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-21-2006, 01:16 PM   #1
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Rep: Reputation: 15
File system magic numbers


Hi,

Can anyone please tell me where to find resources (technical if need be) on File system Magic Numbers and some info on how to decipher the MBR contents?
 
Old 09-21-2006, 06:03 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
This might be of help for MBR. http://www.cpqlinux.com/mbr.html
As far as the Magic Number I did a google search and found many links on it. Might check start there.

Brian1
 
Old 09-22-2006, 02:05 AM   #3
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Check http://www.nondot.org/sabre/os/articles

The MBR uses partition magic numbers. Linux's fdisk(8) understands some of them. Filesystem magic numbers are a different thing.
 
Old 09-22-2006, 03:30 AM   #4
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks, folks, for clearing things up.

Bah, I've googled around for days, but since I'm no geek, it is quite difficult to get to the right pages.

EDIT: Hmmm, I'm no geek? Since when does an average home user read papers on MBR? I've gotta further investigate my inner geekness. ))

B

Last edited by bgbranko; 09-22-2006 at 03:32 AM.
 
Old 09-22-2006, 06:03 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
For future linux googling use http://www.google.com/linux

Brian1
 
Old 09-23-2006, 04:37 PM   #6
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Brian1
For future linux googling use http://www.google.com/linux

Brian1
Thanks.

Man, I've found some great stuff in the links mentioned in previous posts by primo and Brian1. Thanks a lot, guys!

Here's something for an odd passer-by's viewing pleasure:

1. The Minimal Partition Table Specification:
http://www.win.tue.nl/~aeb/partition...on_tables.html
Great description of what's inside partition tables.

2. Partition Types:
http://www.win.tue.nl/~aeb/partition...ion_types.html
The first section contains a formidable list of various partition types and coresponding "magic numbers".
 
  


Reply

Tags
boot, file, magic, master, mbr, numbers, record, system


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bad magic numbers bzip2 fakie_flip Linux - Software 2 08-01-2006 05:00 PM
Filesystem Magic numbers? where are they defined? NiallC Linux - General 3 02-06-2005 11:42 PM
cannot login because file system check fails because of bad magic number trutnev Linux - Newbie 1 03-23-2004 06:44 PM
magic numbers problem muneebs123 Programming 2 09-05-2003 01:33 PM
magic numbers muneebs123 Mandriva 1 09-04-2003 06:31 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration