Why do ext2 inodes only have 12 direct blocks? Announcing the arrival of Valued Associate...

How to tell that you are a giant?

If a contract sometimes uses the wrong name, is it still valid?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Is the Standard Deduction better than Itemized when both are the same amount?

Significance of Cersei's obsession with elephants?

Why aren't air breathing engines used as small first stages?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Do wooden building fires get hotter than 600°C?

Where are Serre’s lectures at Collège de France to be found?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

What does "lightly crushed" mean for cardamon pods?

Trademark violation for app?

What is homebrew?

Using audio cues to encourage good posture

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

How do I make this wiring inside cabinet safer? (Pic)

How do pianists reach extremely loud dynamics?

What's the meaning of "fortified infraction restraint"?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Do I really need recursive chmod to restrict access to a folder?

Wu formula for manifolds with boundary



Why do ext2 inodes only have 12 direct blocks?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionext2/3/4 reserved blocks percentage purposeFastest way to get list of all file sizesHow can I find out a file's range of LBA's using its inode?How does ext4 decide number of blocks of a file?Understanding sparse files, dd, seek, inode block structureCan't create *.o file on partitionWhat are the list of different type of caches in Linux file systems?What does the “size in 512-byte blocks” mean?Why does using indirect pointers in inodes not incur the same amount of space?Is it possible to read a file you only have executable permissions to on Linux through Bash?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm currently writing a hobby file-system for fun. I was wondering if anyone knows why or where I could get information on the design philosophy of ext2.



Specifically, I was wondering why each inode has only 12 direct blocks? Why not 13, or 100?










share|improve this question







New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    In order to fit a struct ext2_inode in 128 bytes?

    – mosvy
    7 hours ago











  • Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

    – Joe Thomas
    4 hours ago


















0















I'm currently writing a hobby file-system for fun. I was wondering if anyone knows why or where I could get information on the design philosophy of ext2.



Specifically, I was wondering why each inode has only 12 direct blocks? Why not 13, or 100?










share|improve this question







New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    In order to fit a struct ext2_inode in 128 bytes?

    – mosvy
    7 hours ago











  • Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

    – Joe Thomas
    4 hours ago














0












0








0








I'm currently writing a hobby file-system for fun. I was wondering if anyone knows why or where I could get information on the design philosophy of ext2.



Specifically, I was wondering why each inode has only 12 direct blocks? Why not 13, or 100?










share|improve this question







New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm currently writing a hobby file-system for fun. I was wondering if anyone knows why or where I could get information on the design philosophy of ext2.



Specifically, I was wondering why each inode has only 12 direct blocks? Why not 13, or 100?







files filesystems inode ext2 unix-philosophy






share|improve this question







New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 7 hours ago









Joe ThomasJoe Thomas

1011




1011




New contributor




Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Joe Thomas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    In order to fit a struct ext2_inode in 128 bytes?

    – mosvy
    7 hours ago











  • Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

    – Joe Thomas
    4 hours ago














  • 1





    In order to fit a struct ext2_inode in 128 bytes?

    – mosvy
    7 hours ago











  • Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

    – Joe Thomas
    4 hours ago








1




1





In order to fit a struct ext2_inode in 128 bytes?

– mosvy
7 hours ago





In order to fit a struct ext2_inode in 128 bytes?

– mosvy
7 hours ago













Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

– Joe Thomas
4 hours ago





Oh, right... that's a pretty good proposition, I guess you could get rid of some reserved fields but fitting it into 128 bytes makes a lot of sense.

– Joe Thomas
4 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Joe Thomas is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513101%2fwhy-do-ext2-inodes-only-have-12-direct-blocks%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Joe Thomas is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Joe Thomas is a new contributor. Be nice, and check out our Code of Conduct.













Joe Thomas is a new contributor. Be nice, and check out our Code of Conduct.












Joe Thomas is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513101%2fwhy-do-ext2-inodes-only-have-12-direct-blocks%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...