Two-Minute Drill


Exploring the Solaris Directory Hierarchy

q  

Everything in Solaris is a file: regular files, directories, commands, links, devices, etc.

q  

Information about a file is contained inside a data structure called inode.

q  

The maximum number of files that you can create on a system depends on the maximum number of inodes that you can create, which in turn depends on the size of the file system.

Understanding Solaris File Systems

q  

The general associations of disk-based file systems to the storage media are as follows: HSFS is created on a CD-ROM, PCFS on a diskette, UDF on a DVD, and UFS on a hard disk.

q  

Solaris 10 supports network file system (NFS) version 4.

q  

Solaris supports the following memory-based file systems: cache file system, loopback file system, process file system, and temporary file system.

q  

The /proc directory contains information about the active processes on the system.

q  

The devices on Solaris 10 are managed by device file system (devfs), which is mounted to /devices.

q  

UNIX file system (UFS) is the default file system for Solaris.

Managing File System Inconsistencies and Disk Space

q  

File system inconsistencies arise when the system is shut down improperly or from hardware errors, such as disk errors.

q  

The inconsistencies can be checked and repaired by using the fsck command.

q  

The fsck runs automatically during the system bootup.but can be executed manually any time after the system is up and running.

q  

You must unmount a file system before running fsck on it.

q  

The df command is used to get a report on disk usage by the file systems.

q  

The du command is used to get a report on disk usage by directories and files.

q  

The quot command is used to get a report on disk usage by users.

q  

The links are created with the following command:

    ln [-fs] <source> [<target>] 

q  

The hard link is created by default, whereas the symbolic link is created with the -s option.

q  

The links are removed with the following command:

    rm [<linkName>] 

q  

A file can be removed without removing its symbolic link, but all of its hard links must be removed. Unless the last hard link is removed, the file content will still exist.




Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 168

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net