Annotation of 43BSDTahoe/man/man8/clri.8, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1980 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)clri.8      6.1 (Berkeley) 4/27/85
                      6: .\"
                      7: .TH CLRI 8 "April 27, 1985"
                      8: .UC 4
                      9: .SH NAME
                     10: clri \- clear i-node
                     11: .SH SYNOPSIS
                     12: .B /etc/clri
                     13: filesystem i-number ...
                     14: .SH DESCRIPTION
                     15: .B N.B.:
                     16: .I Clri
                     17: is obsoleted for normal file system repair work by
                     18: .IR fsck (8).
                     19: .PP
                     20: .I Clri
                     21: writes zeros on the i-nodes
                     22: with the decimal
                     23: .I i-numbers
                     24: on the
                     25: .I filesystem.
                     26: After
                     27: .I clri,
                     28: any blocks
                     29: in the affected file
                     30: will show up as `missing' in an
                     31: .IR icheck (8)
                     32: of the
                     33: .I filesystem.
                     34: .PP
                     35: Read and write permission is required on the specified
                     36: file system device.
                     37: The i-node becomes allocatable.
                     38: .PP
                     39: The primary purpose of this routine
                     40: is to remove a file which
                     41: for some reason appears in no
                     42: directory.
                     43: If it is used to zap an i-node
                     44: which does appear in a directory, care should be taken to track down
                     45: the entry and remove it.
                     46: Otherwise, when the i-node is reallocated to some new file,
                     47: the old entry will still point to that file.
                     48: At that point removing the old entry will destroy the new file.
                     49: The new entry will again point to an unallocated i-node,
                     50: so the whole cycle is likely to be repeated again and again.
                     51: .SH "SEE ALSO"
                     52: icheck(8)
                     53: .SH BUGS
                     54: If the file is open,
                     55: .I clri
                     56: is likely to be ineffective.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.