LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 11-29-2007, 06:14 PM   #1
veeruk101
Member
 
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?

Thanks.
 
Old 11-29-2007, 08:51 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
http://en.wikipedia.org/wiki/Virtual_file_system

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, 02:29 AM   #3
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
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 02:44 AM.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 11:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration