Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-29-2007, 07:14 PM   #1
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Understanding filesystems

I've been reading up on filesystems and came across the concept of inodes and VFS. Because the topics I've read about are specific to certain filesystems, I can't tell whether the concept of an inode is specific to VFS, or whether it is specific to the filesystems themselves (i.e. something is only a filesystem, in the Linux world, if it implements the inode concept) - could you please help clarify?

Also, is every filesystem in Linux accessed through VFS (i.e. no exceptions), or is VFS something that the writers of block device drivers and filesystems can choose to take advantage of?

Old 11-29-2007, 09:51 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743

A Virtual file system (VFS) lives on top of a regular filessytem--I would delve into the latter first. Any file system is really just a protocol for getting from the filename to the physical disk location of the various pieces of the file. inodes are part of this protocol.

If you are writing a driver for a block device, then you aren't dealing with a filesystem at all--you are dealing directly with the device.
Old 11-30-2007, 03:29 AM   #3
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
VFS is linux's file system that is the interpreter between a file system like fat32, xfs, rieser fs, ext3, etc... and the OS...
VFS = virtual file system....VFS has some unique functions and is a fantastic fs in itself, especially allowing us to use nearly any file system....

inodes(blocks in win) are used by the file system(ext3, rieser etc) and have a size dictated by density at format time, ie you can set them at 512 bytes each, 8096 bytes, or even larger....for situations where you require lots of small files then it would be wise to use a low inode size like 512, but for large file sizes than you could use 8096 or even larger...these refinements are rarely used by most except in situations like servers and large database servers, or geeks like us...rofl

Last edited by wraithe; 11-30-2007 at 03:44 AM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystems delta_simon Linux - Software 1 09-13-2007 11:11 PM
CD-RW Filesystems PatrickNew General 3 10-24-2006 10:35 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 08:21 AM
filesystems sxbah Linux - General 1 07-02-2003 02:12 PM
Filesystems narusegawa Slackware 1 03-27-2003 08:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 PM.

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