fsirand(8) CLIX fsirand(8)
NAME
fsirand, ffsfsirand - Installs random inode generation numbers
SYNOPSIS
fsirand [-p] special
ffsfsirand [-p] special
FLAGS
-p Displays, but does not change, the generation numbers for all the
inodes.
DESCRIPTION
The fsirand command installs random inode generation numbers on all the
inodes on device special. This helps increase the security of file
systems exported by the Network File System (NFS).
The fsirand command must be used only on an unmounted file system that has
been checked with the fsck command. The only exception is that it can be
used on the root file system in single-user mode, if the system is
immediately rebooted afterward.
The ffsfsirand command is used for randomizing the generation numbers of
Fast File Systems (FFS). It is normally started by fsirand when fsirand
is invoked on an FFS.
EXAMPLES
1. To install inode generation numbers on all the inodes on device
your_device, key in the following:
fsirand your_device
2. To display the inode generation numbers on device your_device, key in
the following:
fsirand -p your_device
DIAGNOSTICS
File system open
Could not open the device specified.
Seek to superblock failed
Read of superblock failed
2/94 - Intergraph Corporation 1
fsirand(8) CLIX fsirand(8)
Not a superblock
lseek to address failed
The specified special device file does not contain a valid file
system.
EXIT VALUES
The command exits with a 0 if successful. If unsuccessful, the command
exits with a 1.
RELATED INFORMATION
Commands: fsck(8), ffsfsck(8)
2 Intergraph Corporation - 2/94