Different filesystems do things uhm .. differently. If you want to know how else to manage data without databases just look at different kinds of file systems. ie, FAT uses a linked list structure to manage cluster chains in files.ClarionCoder51 wrote:...atleast I got the database part right.
But really, how else could I manage data efficiently without a database? Afterall, it seems like the most logical thing to do, and could also return search results much quicker.
Which File System should I implement?
Re: Which File System should I implement?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
- ClarionCoder51
- Member

- Posts: 28
- Joined: Sun Aug 16, 2009 11:52 am
- Location: Georgia, USA
Re: Which File System should I implement?
Well, FAT sure wasn't the best FS for Win9x, if that's the case. This reminds me, does a file retain it's file name and file type extension when written too...lets say...uhh..sector 2 of a floppy? I never thought it did, but maybe..naa.
"The n00b zone is for loading and unloading newbies only."
Re: Which File System should I implement?
Depends on the file system. Using FAT as an example, the filename information is stored separately in an array of file information (directory table) rather then with the file itself. Thus a file may not ever retain or know its "filename" as its not stored with the file itself.ClarionCoder51 wrote:This reminds me, does a file retain it's file name and file type extension when written too...lets say...uhh..sector 2 of a floppy? I never thought it did, but maybe..naa.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: Which File System should I implement?
You can reference book "File System Forensic Analysis". It dosn't need a word!
Re: Which File System should I implement?
What?!ClarionCoder51 wrote:Well, FAT sure wasn't the best FS for Win9x, if that's the case. This reminds me, does a file retain it's file name and file type extension when written too...lets say...uhh..sector 2 of a floppy? I never thought it did, but maybe..naa.
You write data to a disk. The interpretation of that data is done by higher-level structures, which is what FAT/ext2 etc achieve.

