'\"macro stdmacro
.if n .pH g1.fsirand @(#)fsirand	40.3 of 9/18/89
.\" @(#)fsirand.8 1.3 89/09/16 SMI;
'\" macro stdmacro
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
.\"
.nr X
.if \nX=0 .ds x} fsirand 1 "BSD Compatibility Package" "\&"
.if \nX=1 .ds x} fsirand 1 "BSD Compatibility Package"
.if \nX=2 .ds x} fsirand 1 "" "\&"
.if \nX=3 .ds x} fsirand "" "" "\&"
.TH \*(x}
.SH NAME
\f4fsirand\f1 \- install random inode generation numbers
.SH SYNOPSIS
\f4/usr/ucb/fsirand\f1
[
\f4\-p\f1
]
.I special
.SH DESCRIPTION
\f4fsirand\f1
installs random inode generation numbers on all the inodes on device
.IR special ,
and also installs a filesystem
.SM ID
in the superblock.
This helps increase the security of filesystems exported by
.SM NFS\s0.
.P
\f4fsirand\f1
must be used only on an unmounted filesystem
that has been checked with
\f4fsck\f1(1M).
The only exception is that it can be used
on the root filesystem in single-user mode,
if the system is immediately re-booted afterwords.
.P
The
\f4\-p\f1
option prints out the generation numbers for all the inodes,
but does not change the generation numbers.
.SH SEE ALSO
\f4fsck\fP(1M)
in the \f2System Administrator's Reference Manual\f1.
