That's great!<p>If you're interested in more detail about how a VFS (Virtual File System; the bit where it finds the file and then finds the data in the file) works, Chapter 17 (Another Level of Indirection) in Beautiful Code (<a href="http://shop.oreilly.com/product/9780596510046.do" rel="nofollow">http://shop.oreilly.com/product/9780596510046.do</a> ) is well worth a read.<p>It explains how the VFS in FreeBSD works. How disks, partitions, volumes, filesystems, offsets, etc all get orchestrated together so that the Unix "single directory hierarchy" abstraction works as intended even tho' the actual data may be spread around a number of locations (both local and remote).<p>The concepts and ideas are largely applicable to other Unixes and Unix-like operating systems.<p>It's also a great example of how elegantly one can express polymorphic code, even in plain C.