netbsd man page for clri

Query: clri

OS: netbsd

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CLRI(8) 						    BSD System Manager's Manual 						   CLRI(8)

NAME
clri -- clear an inode
SYNOPSIS
clri special_device inode_number ...
DESCRIPTION
clri is obsoleted for normal file system repair work by fsck(8). clri zeros out the inodes with the specified inode number(s) on the filesystem residing on the given special_device. The fsck(8) utility is usually run after clri to reclaim the zero'ed inode(s) and the blocks previously claimed by those inode(s). Both read and write permission are required on the specified special_device. The primary purpose of this routine is to remove a file which for some reason is not being properly handled by fsck(8). Once removed, it is anticipated that fsck(8) will be able to clean up the resulting mess.
SEE ALSO
fsck(8), fsdb(8)
BUGS
If the file is open, the work of clri will be lost when the inode is written back to disk from the inode cache.
BSD
April 19, 1994 BSD
Related Man Pages
clri(1m) - opensolaris
clri_hfs(1m) - hpux
dcopy(1m) - opensolaris
clri(1m) - xfree86
clri(1m) - minix
Similar Topics in the Unix Linux Community
Help with can't get execution attributes
How to manage file names with special characters
Can't delete a file in the trash on OSX 10.11.6
Undeletable file
Root user not recognizing on Solaris-10 (shadow file corruption)