Log-in |

Unix File System, and generic file system layer

Sun Microsystems, Inc. Internal Community Advocates:

 Sarah Jelinek, sarah.jelinek AT sun DOT com
 Frank Batschulat, frank.batschulat AT sun DOT com
 Karen Rochford, karen.rochford AT sun DOT com
 Evan Layton, evan.layton AT sun DOT com
 James Wahlig, james.wahlig AT sun DOT com
 Rich Brown, rich.brown AT sun DOT com
 Shawn Debnath, shawn.debnath AT sun DOT com

An Overview UFS and the generic file system layer in Solaris

UFS is the default, local Solaris file system. UFS is a hierarchical file system, with the root of the file system as inode 2. There are several file system utilities associated with UFS and the generic file system layer in Solaris. UFS supports metadata logging which bundles multiple metadata changes in to one transaction. Logging provides a file system that is consistent with the transaction log, which in general eliminates the need to run fsck(1M) on unclean shutdown. It also provides a significant performance improvement. UFS logging is on by default in Solaris 10.

The generic file system layer in Solaris represents the VNODE and VFS layer interfaces.

The VFS layer provides an administrative interface into the file system to support commands like mount, and umount in a file system independent manner. The interface achieves this independence by means of the VFS object. The VFS object represents an encapsulation of a file system's state and a set of methods for each of the file system administrative interfaces.

The VNODE is a a representation of a file in the Solaris kernel. It encapsulates the files state and methods that can be used to perform operations on that file. A vnode represents a file within a file system;the vnode hides the implementation of the file system it resides in and exposes file system independent data and methods to the rest of the kernel.

UFS and FS source in OpenSolaris

Kernel:

usr/src/uts/common/fs

usr/src/uts/common/fs/ufs

Include files:

usr/src/uts/common/sys/fs

User level commands:

usr/src/cmd/fs.d

usr/src/cmd/fs.d/ufs

Additional UFS(7FS) Information

Documents

Sun blueprints: Design, Features and Applicability of Solaris file systems:

http://www.sun.com/blueprints/0104/817-4971.pdf

last modified by admin on 2009/10/26 12:11
Collectives
Project

Community Group ufs Pages

© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.