*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> clri (8)              
Title
Content
Arch
Section
 

clri(8)

Contents


NAME    [Toc]    [Back]

       clri - Clears i-nodes

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/clri filesystemi-number...

DESCRIPTION    [Toc]    [Back]

       The  clri  command  is  obsoleted  for  normal file system
       repair work by the fsck command.

       The clri command writes zeros on the i-nodes with the decimal
  i-numbers  on  the specified filesystem.  After clri
       has finished its work, any blocks in the affected file are
       defined  as  "missing" when you run icheck on the filesystem.


       Read and write permission is  required  on  the  specified
       file system device.  The i-node becomes allocatable.

       The  primary  purpose  of this routine is to remove a file
       which does not appear in any directory.  If  you  use  the
       command  to remove an i-node which does appear in a directory,
 take care to track down the  entry  and  remove  it.
       Otherwise,  when  the  i-node  is  reallocated to some new
       file, the old entry will still point to that file. If  you
       then  remove the old entry, you will destroy the new file,
       and the new entry will again point to  an  unallocated  inode.
  Consequently,  the  entire  cycle  repeats  itself.
       #ifdef NON_SEC_PRIV

       You must  be root to use this command.  #endif

       If the file is open, clri is likely to be ineffective.

FILES    [Toc]    [Back]

       Specifies the command path

SEE ALSO    [Toc]    [Back]

      
      
       Commands: icheck(8)



                                                          clri(8)
[ Back ]
 Similar pages
Name OS Title
ng_gif_demux FreeBSD demultiplexer for packets from ng_gif(4) nodes
MAKEDEV FreeBSD old script for creating device nodes
DXmSvnClearSelections Tru64 Clears all selections.
clear Tru64 Clears terminal screen
pxfclearenv IRIX Clears all environment variables
acl_clear_perm Tru64 Clears a set of permissions in an ACL entry
clearenv Tru64 Clears the process environment
clear_wait Tru64 General: Clears the wait condition
DXmSvnClearHighlighting Tru64 Removes (clears) all highlighting from the entries.
DXmSvnClearHighlight Tru64 Removes (clears) highlighting from a specified entry.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service