xref: /titanic_41/usr/src/man/man1m/fsirand.1m (revision f3312ec0e8acbd249df97358fb8c3ca92f4e089c)
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 1M "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(1M) 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(5) for the description of the behavior of fsirand when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).

SEE ALSO

fsck(1M), attributes(5), largefile(5)