randomize inode generation numbers
command installs random
generation numbers on all the inodes for each filesystem specified on the
command line by special
. This increases the
security of NFS-exported filesystems by making it difficult to
now does the equivalent
itself so it is no longer
necessary to run
by hand on a new
filesystem. It is only used to re-randomize or report on an existing
should only be used on an unmounted
filesystem that has been checked with
or a filesystem that is
may be used on
the root filesystem in single-user mode but the system should be rebooted via
“reboot -n” afterwards.
The options are as follows:
- Use the default block size (usually 512 bytes) instead of the value
gleaned from the disklabel.
fsirand to run even if the
filesystem on special is not marked as
- Print the current generation numbers for all inodes instead of generating
command appeared in SunOS 3.x.
This version of
first appeared in
Todd C. Miller
allocates enough memory to hold
all the inodes in a given cylinder group, it may use a large amount of memory
for large disks with few cylinder groups.