2 .\" Copyright 1989 AT&T 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 CLRI 8 "Sep 16, 1996"
8 clri, dcopy \- clear inode
12 \fBclri\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] \fIspecial\fR \fIi-number\fR
17 \fBdcopy\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] \fIspecial\fR \fIi-number\fR
23 \fBclri\fR writes zeros on the inodes with the decimal \fIi-number\fR on the
24 file system stored on \fIspecial\fR. After \fBclri\fR, any blocks in the
25 affected file show up as missing in an \fBfsck\fR(8) of \fIspecial\fR.
28 Read and write permission is required on the specified file system device. The
29 inode becomes allocatable.
32 The primary purpose of this routine is to remove a file that for some reason
33 appears in no directory. If it is used to zap an inode that does appear in a
34 directory, care should be taken to track down the entry and remove it.
35 Otherwise, when the inode is reallocated to some new file, the old entry will
36 still point to that file. At that point, removing the old entry will destroy
37 the new file. The new entry will again point to an unallocated inode, so the
38 whole cycle is likely to be repeated again and again.
41 \fBdcopy\fR is a symbolic link to \fBclri\fR.
46 \fB\fB-F\fR\fI FSType\fR\fR
49 Specify the \fIFSType\fR on which to operate. The \fIFSType\fR should either
50 be specified here or be determinable from \fB/etc/vfstab\fR by matching
51 \fIspecial\fR with an entry in the table, or by consulting
52 \fB/etc/default/fs\fR.
61 Echo the complete command line, but do not execute the command. The command
62 line is generated by using the options and arguments provided by the user and
63 adding to them information derived from \fB/etc/vfstab\fR. This option should
64 be used to verify and validate the command line.
71 \fB\fB/etc/default/fs\fR\fR
74 Default local file system type
80 \fB\fB/etc/vfstab\fR\fR
83 List of default parameters for each file system
89 \fBfsck\fR(8), \fBvfstab\fR(4), \fBattributes\fR(5)
93 This command might not be supported for all \fIFSTypes\fR.