xref: /illumos-gate/usr/src/man/man8/fsirand.8 (revision e82490700e19f1b8a2cef6102f4726144d281988)
te
Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
FSIRAND 8 "Sep 16, 1996"
NAME
fsirand - install random inode generation numbers
SYNOPSIS

fsirand [-p] special
DESCRIPTION

fsirand installs random inode generation numbers on all the inodes on device special, and also installs a file system ID in the superblock. This helps increase the security of file systems exported by NFS.

fsirand must be used only on an unmounted file system that has been checked with fsck(8) The only exception is that it can be used on the root file system in single-user mode, if the system is immediately re-booted afterwards.

OPTIONS
-p

Print out the generation numbers for all the inodes, but do not change the generation numbers.

USAGE

See largefile(7) for the description of the behavior of fsirand when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).

SEE ALSO

attributes (7), largefile (7), fsck (8)