From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199612130906.JAA00337@win31.reo.dec.com> Date: Fri, 13 Dec 1996 09:06:54 +0000 From: David A Rusling Subject: Re: upper limits of linux/alpha > I'm unfamiliar with Vfs on Linux. How is it implemented? > The Linux Virtual Partition System Project pointer at > http://www.cc.gatech.edu/linux/ldp/ > is empty. Is there a HOWTO somewhere? > > Is this new Vfs only available in 2.1.x? VFS is Virtual File System and it is, essentially a common interface to all of the physical file systems. All of the real file systems register themselves with this layer of software and, whenever a filesystem is mounted, VFS uses callbacks to first mount it and then to navigate the filesystem, finding files and so on. All Linux filesystems are represented in VFS by a superblock (the basic description of the filesystem) with each file (or directory) represented by inodes (an ancient Unix concept). Whenever real filesystem stuff happens, the code maps its data structures into VFS superblocks and VFS inodes via callbacks. This is slightly confusing with the EXT2 filesystem as it does actually use Superblocks and inodes. The EXT2 Inodes look a lot like the VFS ones and the mapping is easy and efficient. Buried in here is also access by the filesystems to the buffer cache as well as VFS's use of the directory and inode caches. All of which make the filesystems very efficient. Ted T'so (MIT?) was looking at the EXT2 filesystem extensions. To see the code look in /fs and in /fs/ext2. I have seen some papers on this, probably at the LDP site, written by Remy Card (inventor of EXT2) and Stephen Tweedie (expert and implementor of several go faster pieces). There are a couple of books on the Linux kernel out, I cannot remember their name as I'm avoiding buying them; I am in the middle of writing a book on the linux kernel myself and I don't want to be 'tainted'. Guess which chapter I'm half way through writing? Dave ---------------------------------------------------------------------- David A Rusling Principal Engineer European Semiconductor Applications Digital Equipment Co Ltd., Engineering PO Box 121, Imperial Way, Worton Grange Reading RG2 0TU Linux, Alpha, StrongArm, PCI Tel: UK-(0)1734-204380 Fax: UK-(0)1734-203133 ---------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com