Design documents and specification of Ext4 ?
Design documents and specification of Ext4 ?
Seems like there are so few documents about this file system around the Internet. And the one that I got (named ext4-foss) is not detailed enough to makke an implementation. Any idea?
"Programmers are tools for converting caffeine into code."
Re: Design documents and specification of Ext4 ?
The "ext4" article on Wikipedia has some useful links: http://en.wikipedia.org/wiki/Ext4.
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa
Re: Design documents and specification of Ext4 ?
Looked at some of those
"Programmers are tools for converting caffeine into code."
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
The official web page can be found here. However, as with Linux-related projects in general, the code is the documentation.
Read the documentation!Read it anyway!But there is none...
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Design documents and specification of Ext4 ?
But the code in Linux will have dependencies on Linux. Spliting it out is a PITA
"Programmers are tools for converting caffeine into code."
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: Design documents and specification of Ext4 ?
There's a difference between reading and outright copying code.But the code in Linux will have dependencies on Linux.
You can easily read code and take the algorithms and concepts and apply them to your own, manually-written code. Copying it directly is much harder (and you don't learn anything).
If you're looking for code to copy directly, that's why you can't find anything useful.
Re: Design documents and specification of Ext4 ?
well I don't plan to copy any ****. But consider that I will have to read, say, half a kernel to understand how the file system work. It is bloody stupid. I want to do my own implementation, based on the design of ext4.
"Programmers are tools for converting caffeine into code."
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: Design documents and specification of Ext4 ?
Well I vana toilet made out of solid gold, but it's just not in the cards now is it?quanganht wrote:well I don't plan to copy any ****. But consider that I will have to read, say, half a kernel to understand how the file system work. It is bloody stupid. I want to do my own implementation, based on the design of ext4.
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
Erm. Have you ever read any source code before?quanganht wrote:well I don't plan to copy any ****. But consider that I will have to read, say, half a kernel to understand how the file system work. It is bloody stupid. I want to do my own implementation, based on the design of ext4.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Design documents and specification of Ext4 ?
YesLove4Boobies wrote:Erm. Have you ever read any source code before?
"Programmers are tools for converting caffeine into code."
- Combuster
- 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:
Re: Design documents and specification of Ext4 ?
At least you didn't seem to have tried this particular case.
I know of Linux (and X.org) that you do not need to see anything beyond the driver itself to know how it works. I didn't read the entire source code to the kernel to know what hardware registers are responsible for what bit of 3D... Its none of the core kernel's business.
I know of Linux (and X.org) that you do not need to see anything beyond the driver itself to know how it works. I didn't read the entire source code to the kernel to know what hardware registers are responsible for what bit of 3D... Its none of the core kernel's business.
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
That's a lie! You actually need to read everything and even the sources of some unrelated projects (it doesn't matter which, though).
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Combuster
- 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:
Re: Design documents and specification of Ext4 ?
What things do you think I read to reverse engineer enough to write my current Verite code?
Answer: only what was in the xf86-video-rendition package
For Ati Mach64, it was only linux/drivers/video/aty
I win.
Answer: only what was in the xf86-video-rendition package
For Ati Mach64, it was only linux/drivers/video/aty
I win.
Re: Design documents and specification of Ext4 ?
Unfortunately I'm not that genius
"Programmers are tools for converting caffeine into code."
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
Again, Combuster lies! He also read the unreleased source code for Minesweeper.
Ok, but jokes aside, I've looked a little through the ext4 code. You'll manage easily.
Ok, but jokes aside, I've looked a little through the ext4 code. You'll manage easily.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]