O'Reilly logo

Solaris™ Internals: Core Kernel Components by Richard McDougall, Jim Mauro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.2. UFS On-Disk Format

The on-disk format of the UFS file system has largely remained unchanged with the introduction of new features, maintaining forward compatibility across all releases. This allows Solaris to be upgraded without the need to back up and restore file systems.

14.2.1. UFS Inodes

Information about which data blocks relate to each file are stored in a special file index node: the inode. The inode contains all of the information about the file, except for the file name, which is stored in the directory. Inode information includes:

  • File type (regular, special, fifo, link, etc.)

  • Owner of file (uid)

  • Group of file (gid)

  • File size

  • Attributes (read, execute, modify)

  • Timestamps (last modified, etc.)

  • Number of references to the file (links) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required