Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-07-2006, 09:02 PM   #1 (permalink)
Broken In
 
Join Date: Jun 2005
Posts: 127
Question What are file system magic numbers?


I searched google and found some results , but it seems to be too much complicated. Can anyone explain it simply for me? Thanks in advance.
vinayasurya is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-07-2006, 09:46 PM   #2 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: What are file system magic numbers?

The magic numbers are number formats that make the File System understand
what type of file it is. For eg., JPEG Image files begin with 0xFFD8FF. MIDI files begin
with 'MThd' (0x4D546864). PostScript files start with '%!'(0x2521). And this is how
the O.S understands & deciphers what type of file it is!!
Read more about it :
http://en.wikipedia.org/wiki/Magic_number_(programming)
JGuru is offline  
Old 07-07-2006, 11:35 PM   #3 (permalink)
Broken In
 
Join Date: Jun 2005
Posts: 127
Default Re: What are file system magic numbers?

Is that only for linux like file systems or FAT32 has the same?
vinayasurya is offline  
Old 07-07-2006, 11:46 PM   #4 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: What are file system magic numbers?

That applies to all Operating Systems. They have their own way of treating things.
The JPEG image you save in Windows can be viewed in Linux. Windows follows
the FAT (File Allocation Table) File System and NT follows NTFS. Linux follows the ext3
( Journaling File System).
JGuru is offline  
Old 08-07-2006, 09:11 AM   #5 (permalink)
In The Zone
 
blackleopard92's Avatar
 
Join Date: Sep 2004
Posts: 310
Default Re: What are file system magic numbers?

one thing.Is ext3 file system accessible from Windows?it doesn't seem to me.
blackleopard92 is offline  
Old 08-07-2006, 11:19 AM   #6 (permalink)
Beware of the innocent
 
ilugd's Avatar
 
Join Date: Dec 2005
Posts: 1,024
Default Re: What are file system magic numbers?

no leopard, but fat is accessible from both.
ilugd is offline  
Old 08-07-2006, 11:20 AM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: What are file system magic numbers?

@blackleopard you need extra tools like explore2fs or something else.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 08-07-2006, 02:12 PM   #8 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default Re: What are file system magic numbers?

Quote:
Originally Posted by blackleopard92/Melissa :p
one thing.Is ext3 file system accessible from Windows?it doesn't seem to me.
You might want to try this:
http://db.glug-bom.org/lug-authors/a...s-1.00pre6.zip
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 08-07-2006, 02:47 PM   #9 (permalink)
Wise Old Owl
 
dIgItaL_BrAt's Avatar
 
Join Date: Jan 2005
Posts: 1,135
Default Re: What are file system magic numbers?

This driver allows you to access ext2/ext3 drives from explorer,just like any other drive.
http://www.fs-driver.org/
__________________
A)bort, R)etry, I)nfluence with large hammer.
dIgItaL_BrAt is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear

Advertisement




All times are GMT +5.5. The time now is 08:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2