ext2 or ext3 filsytem tutorial?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
HJED
Member
Member
Posts: 61
Joined: Tue Sep 04, 2007 4:18 am
Location: the world wide web
Contact:

ext2 or ext3 filsytem tutorial?

Post by HJED »

hi
is there any good ext2 or ext3 tutorial that show u how to let your os use these filesytem
(not to boot but to us)
.................................. um what should i put here .............................?..........................................
..... :D................
Pyrofan1
Member
Member
Posts: 234
Joined: Sun Apr 29, 2007 1:13 am

Post by Pyrofan1 »

get the documentation, but using ext2 or 3 is quite an achievement.
HJED
Member
Member
Posts: 61
Joined: Tue Sep 04, 2007 4:18 am
Location: the world wide web
Contact:

Post by HJED »

then dose any1 know of another filesystem that there are tutorial for that can do reasonable sized portions
PS fat32 has size limitations and i would like to be able to use proper sized parsons!
PPS i am not very good at witting code based on the theory.
so if any1 knows of tutorials that use examples i would be great full

plz help

:cry:
.................................. um what should i put here .............................?..........................................
..... :D................
Avarok
Member
Member
Posts: 102
Joined: Thu Aug 30, 2007 9:09 pm

Post by Avarok »

I'm honestly far from understanding the mechanics behind filesystems.

This is obviously rather complicated, and most of us tend to avoid it until we've got:

1) scheduling/tasks/threading figured out.
2) memory management/paging
3) loading executables
4) disk drivers

I *can* say that if you want to suspend your OS on the filesystem, and boot your OS, you can do that with a quick hack. Mount the image, save your OS on it somewhere, and then find out what address the image is stored at, ignoring the filesystem. Once you then figure all the necessary stuff to actually *run* an FS, your OS image will already be one of the files.

:P Good Luck.
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies.
- C. A. R. Hoare
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

HJED wrote:then dose any1 know of another filesystem that there are tutorial for that can do reasonable sized portions.
The closest to a tutorial I can think of is the FAT page on the wiki. If you want a filesystem which you can implement with minimal effort, try SFS (link in my signature)
PS fat32 has size limitations and i would like to be able to use proper sized parsons!
FAT is capable enough to be used on large partitions (current harddisks haven't outgrown FAT yet.) Filesizes are limited to 4GB, which is not really an issue until you start working with DVD images. For starting OSDev, its a non-issue.
PPS i am not very good at witting code based on the theory.
Practice makes perfect. Try it already. Once you'll be asking for a tutorial on 3D accellerated cards its too late.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
HJED
Member
Member
Posts: 61
Joined: Tue Sep 04, 2007 4:18 am
Location: the world wide web
Contact:

Post by HJED »

ok i think i will leave it 4 a while then
seeing as my kernel is going to be on the flash drive and the rest of the system on the hard drive
thks 4 your help anyway
.................................. um what should i put here .............................?..........................................
..... :D................
Post Reply