Filesystem question

This is a discussion on Filesystem question within the C Programming forums, part of the General Programming Boards category; Hi. I started to read some documentations and tutorials about file system implementations, and there is something I don`t understand. ...

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    66

    Filesystem question

    Hi.

    I started to read some documentations and tutorials about file system implementations, and there is something I don`t understand. How superblock, inode table, bitmaps etc are read from the disk drive within the filesystem. I`ve downloaded an older version of the linux kernel, and looked at some simpler filesystems like fat or ext2. I saw the inode and superblock structure declarations, operations executed on them, but didn`t find actual function calls to the disk driver. I thought maybe the driver loads these informations into memory but to be honest this doesn`t seem likely to me.

    I know filesystem implementation is a sophisticated theory and it isn`t something you can learn in one day, but can somebody explain to me in a few words how is this done? If you know any good books, or tutorials on the matter, that`s good too. What I found on google where only tutorials about how to implement virtual file systems for school projects.

    Thank you.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,532
    Filesystem question
    Have some patience.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Filesystem question
    By raczzoli in forum Linux Programming
    Replies: 2
    Last Post: 12-06-2012, 02:11 AM
  2. Filesystem information
    By idleman in forum C++ Programming
    Replies: 6
    Last Post: 06-12-2009, 09:32 AM
  3. Filesystem C++
    By bobbelPoP in forum C++ Programming
    Replies: 2
    Last Post: 06-25-2008, 12:38 PM
  4. Filesystem monitoring question
    By rools in forum Linux Programming
    Replies: 2
    Last Post: 11-18-2005, 11:09 AM
  5. filesystem creation
    By napsy in forum Linux Programming
    Replies: 2
    Last Post: 10-10-2004, 04:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21