LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-17-2012, 03:03 PM   #1
rupeshkp728
Member
 
Registered: May 2012
Posts: 33

Rep: Reputation: Disabled
Understanding File System


Can anybody pls provide me some good articles / links which will help me understand linux file system internals?
I want to understand how a file when accessed from user mode through its file name resolves to particular memory location on memory.
Where does the super, dentry and inodes come into picture in this file name to memory accessing process?
 
Old 07-17-2012, 03:09 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member Response

Hi,

Look at: Linux File System section;
Quote:
Understanding UNIX/Linux file system:
Part I <- Understanding Linux filesystems
Part II <- Understanding Linux superblock
Part III <- An example of Surviving a Linux Filesystem Failures
Part IV <- Understanding filesystem Inodes
Part V <- Understanding filesystem directories
Part VI <- Understanding UNIX/Linux symbolic (soft) and hard links
Part VII <- Why isn’t it possible to create hard links across file system boundaries?
Quote:
inode pointer structure - 'The inode pointer structure is a structure adopted by the inode of a file in the Unix File System (UFS) or other related file systems to list the addresses of a file's data blocks' + Ext3 for large file systems + A Basic UNIX Tutorial + A Fast File System for UNIX + Computer file systems
The above links and others can be found at 'Slackware-Links'. More than just Slackware® links!
 
1 members found this post helpful.
Old 07-17-2012, 09:18 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
The VFS layer handles all the drudgery of interfacing various (incompatible) block device drivers to generic kernel-space code. Kernel-space neither knows nor cares about filenames.
Although I seem to recall it also uses an "inode" pointer - to a memory location of course. Must go look that up again one day ...

I know of no web articles that explain all this, although they must be out there. I use several books (as in real paper ones - they were once quite popular) as reference - in addition to the source when I get interested in something.
ebooks would also presumably do the job - and hopefully cheaper.
 
Old 07-17-2012, 09:48 PM   #4
rupeshkp728
Member
 
Registered: May 2012
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks onebuck and sys for the inputs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Understanding the File System and Structure in Linux LXer Syndicated Linux News 0 09-15-2011 09:40 AM
Understanding System Logs SBN Linux - General 4 05-04-2008 12:21 PM
understanding kde system guard demmylls Linux - Software 1 07-02-2006 09:55 AM
LXer: Understanding UNIX/Linux file system LXer Syndicated Linux News 0 01-29-2006 07:01 PM
[SOLVED] Understanding System Logs SlowLearner Linux - Networking 7 05-26-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration