Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CLRI(8) 		     System Manager's Manual			 CLRI(8)

NAME
     clri -- clear an inode

SYNOPSIS
     clri special_device inode_number ...

DESCRIPTION
     The  clri	utility  is  obsoleted	for  normal  file  system repair work by
     fsck(8).

     The clri utility zeroes out the inodes with the specified	inode  number(s)
     on the file system residing on the given special_device.  The fsck(8) util-
     ity is usually run after clri to reclaim the zeroed 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 rea-
     son is not being properly handled by fsck(8).  Once removed, it is  antici-
     pated that fsck(8) will be able to clean up the resulting mess.

SEE ALSO
     fsck(8), fsdb(8)

HISTORY
     The clri utility first appeared in Version 6 AT&T UNIX.

BUGS
     If  the file is open, the work of clri will be lost when the inode is writ-
     ten back to disk from the inode cache.

FreeBSD ports 15.1		 October 5, 2016			 CLRI(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=clri&sektion=8&manpath=FreeBSD+15.1-RELEASE+and+Ports>

home | help