tail head cat sleep
QR code linking to this page

Manual Pages  — CLRI


clri – clear an inode



clri special_device inode_number ...


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) utility 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 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.


fsck(8), fsdb(8)


The clri utility first appeared in AT&T v6 .


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

CLRI (8) October 5, 2016

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Never write it in C if you can do it in `awk';
Never do it in `awk' if `sed' can handle it;
Never use `sed' when `tr' can do the job;
Never invoke `tr' when `cat' is sufficient;
Avoid using `cat' whenever possible.
— Taylor's Laws of Programming