6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / fsirand.1m
blob11ba825ec7d8a6666a81ad3da3e957384df04a37
1 '\" te
2 .\"  Copyright (c) 1996, Sun Microsystems, Inc.  All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH FSIRAND 1M "Sep 16, 1996"
7 .SH NAME
8 fsirand \- install random inode generation numbers
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBfsirand\fR [\fB-p\fR] \fIspecial\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBfsirand\fR installs random inode generation numbers on all the inodes on
19 device \fIspecial\fR, and also installs a file system \fBID\fR in the
20 superblock. This helps increase the security of file systems exported by
21 \fBNFS.\fR
22 .sp
23 .LP
24 \fBfsirand\fR must be used only on an unmounted file system that has been
25 checked with \fBfsck\fR(1M) The only exception is that it can be used on the
26 root file system in single-user mode, if the system is immediately re-booted
27 afterwards.
28 .SH OPTIONS
29 .sp
30 .ne 2
31 .na
32 \fB\fB-p\fR\fR
33 .ad
34 .RS 6n
35 Print out the generation numbers for all the inodes, but do not change the
36 generation numbers.
37 .RE
39 .SH USAGE
40 .sp
41 .LP
42 See \fBlargefile\fR(5) for the description of the behavior of \fBfsirand\fR
43 when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
44 .SH SEE ALSO
45 .sp
46 .LP
47 \fBfsck\fR(1M), \fBattributes\fR(5), \fBlargefile\fR(5)