File System Loading/read in

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
Nerd-Pit

File System Loading/read in

Post by Nerd-Pit »

Questioni have now is how would ig et my bootlaoder to read in my Filesystem that i am goign to use. I want to use the XFS filesystem from SGi for my os and want to be ablt o at least know where to put the code to laod this filesystem at.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:File System Loading/read in

Post by Pype.Clicker »

never heard of that file system. If you could give a pointer ...
And, btw ... could you please try to check what you typed before you submit ?
Nerd-Pit

Re:File System Loading/read in

Post by Nerd-Pit »

Here is the link on SGI's page for the XFS files sytem
http://oss.sgi.com/projects/xfs/
Sorry for the miss typing on the previous post. I was trying to get my cat away from the keyboard.
Nerd-Pit

Re:File System Loading/read in

Post by Nerd-Pit »

I was also thinking about using the HFS filesystem that apple uses for MAC. I have some code for the hfs and volfs that they use in darwin.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:File System Loading/read in

Post by Pype.Clicker »

yum yum ... thanks for those juicy PDFs :)

woow. Soo many things still to be learned... :P
and, for the c@t, i understand your pain ... Just hope he doesn't loves the "sleep" and "power" keys as much as mine do :D
Nerd-Pit

Re:File System Loading/read in

Post by Nerd-Pit »

I just want to know if i should load it in my second stage loader or in my kernel, I know i would have to write a driver for the HD and the floppy drives.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:File System Loading/read in

Post by Pype.Clicker »

well, the way i did is to load kernel and all modules (merged into a kind of ramdisk) i need to boot up the system at the second stage loader. If another filesystem or driver module is required for the rest of the system, it will have to be in these first modules.

So loading it from the 2nd stage or from the kernel will depend upon you want it to be the native FS or if it's just an option and if you have some other FS where the XFS module could reside.
Nerd-Pit

Re:File System Loading/read in

Post by Nerd-Pit »

I want XFS to be the main filesystem for my os. a
DarylD

Re:File System Loading/read in

Post by DarylD »

You can have XFS as your main filesystem, but you will need to somehow load in the code for it, i.e. in the second stage bootloader.

Incidentally, I quite like the look of XFS too and if it is of any use, GRUB supports XFS for booting so you could make life a little easier for yourself by using that.

Daryl.

PS. XFS is good because its fast and supports attributes and ACL's although it looks to be quite difficult to implement as it makes heavy use of trees.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:File System Loading/read in

Post by Pype.Clicker »

hmmm ... nice! missa l0vez treez :)
I've got a fairly commented implementation of B-trees (in memory, however) in src/koLib/btree.c, if someone is interrested. I dunno if this is the kind of tree XFS uses, but that's some tree structure i've learned from a filesystems course ...
Nerd-Pit

Re:File System Loading/read in

Post by Nerd-Pit »

Dang i found a hidden Filesystem out there that is a good one to use i might just use that one instead of the HFS filesystem from the MAC and go with it. I will check out grub and its support to see how it is done to load the XFS file system.
Schol-R-LEA

Re:File System Loading/read in

Post by Schol-R-LEA »

If anyone is interested in a Different Idea about how to handle documents, take a look at the Xanadu Project, and it's spin-offs Udanax Green and Udanax Gold. They probably won't help you on implementation methods, but they may give you new ideas about design. U.Green has been ported to Linux on the PC, while a partial implementation of U.Gold, called Abora, has been finished in Dolphin Smalltalk; the author is now contemplating moving the implementation to either Squeak or Java. You can also check out the Sunless Sea Cyberarchaeology Project for more information on the earlier work from the 1980s.

For other unusual ideas you may want to visit Jef Raskin's homepage. Raskin was the original designer of the Macintosh, and later the Canon Cat; his current project, THE ("The Humane Environment") is also one which could be of interest, though it is, unfortuantely, only available for the Mac right now.
kerim

Re:File System Loading/read in

Post by kerim »

are there anywhere on the internet any texts about the MAC filesystem
eL JeDi

Re:File System Loading/read in

Post by eL JeDi »

Post Reply