In Unix sticky bit is permission bit that protects the files within a directory. If the directory has the sticky bit set, a file can be deleted only by the owner of the file, the owner of the directory, or super user. This prevents a user from deleting other users’ files from public directories. A t or T in the access permissions column of a directory listing indicates that the sticky bit has been set, as shown here:
drwxrwxrwt 5 root sys 458 Oct 21 17:04 /public
Sticky bit cab be set by chmod command. You need to assign the octal value 1 as the first number in a series of four octal values.
# chmod 1777 public
A disk lable is a special area for storing information about the disk’s controller, geometry, and slices (or partitions). This information is called the disk’s label and in Unix its called volume table of contents (VTOC). Writing slice information onto disk is called labeling a disk. Before label a disk you have to define its slices.VTOC is widely used in Solaris and it support less than 1TB of data. EFI ( Extensible Firmware Interface) is a new type of disk label which support disk that are larger than 1TB and cannot be converted back to VTOC.
Solaris supports both types VTOC disk label and the EFI disk label. Solaris 10 (and later versions of Solaris 9) provides support for disks that are larger than 1 TB on systems that run a 64-bit Solaris kernel. The EFI label provides support for physical disks and virtual disk volumes. The UFS file system is compatible with the EFI disk label, and you can create a UFS file system greater than 1 terabyte.
The traditional VTOC label is still available for disks less than 1 terabyte in size. You can use the format-e command to label a disk less than 1TB with an EFI label.
The advantages of the EFI disk label over the VTOC disk label are as follows:
- Provides support for disks greater than 1 TB in size.
- Provides usable slices 06, where slice 2 is just another slice.
- Slices cannot overlap with the primary or backup label, nor with any other partitions. The size of the EFI label is usually 34 sectors, so partitions start at sector 34. This feature means that no partition can start at sector zero.
- Sizes are reported in blocks. No cylinder, head, or sector information is stored in the EFI label.
- Information that was stored in the alternate cylinders area, the last two cylinders of the disk, is now stored in slice 8.
- If you use the format utility to change partition sizes, the unassigned partition tag is assigned to partitions with sizes equal to zero. By default, the format utility assigns the usr partition tag to any partition with a size greater than zero. You can use the partition change menu to reassign partition tags after the partitions are changed.
- Solaris ZFS uses EFI labels by default.
But there some restrictions with EFI disk labels and those are:
Ref : Sun Docs, Veritas Docs
The “load average” of the UNIX system is the average number of processes assigned to the specified processor set that are in the system run queue, averaged over various periods of time.
For example, your UNIX system may have 100 processes in the process table, but at a given moment, 98 of them may be “sleeping”, such as a web server which just “sleeps” while waiting for a web browser to connect to it.
Read more…