Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

clri, dcopy — Clear Inode

Synopsis

/usr/sbin/clri [-F FSType][-V] special
						i-number
/usr/sbin/dcopy [-F FSType][-V] special
						i-number
					

Description

Use the clri command to clear a bad inode that fsck is unable to fix. clri writes zeros on the inodes with the decimal i-number on the file system stored on special. After clri is run, any blocks in the affected file show up as missing in an fsck(1M) of special and any data is lost. You cannot clear an inode on a mounted file system.

Read and write permission are required on the specified file system device. The inode becomes allocatable.

Note

The primary purpose of this command is to remove a file that, for some reason, appears in no directory. If you use clri to clear an inode that does appear in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book