Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ncheck(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck, dfsck

sort

ncheck

PURPOSE

     Generates path names from i-numbers.

SYNOPSIS
     ncheck [ [-s] [ [-a] [-i[inumber] ] [filelsystem] ]

DESCRIPTION

     The ncheck  command without any flags  writes to standard
     output the path  name and i-number list for  all files in
     filesystem.

     If you  specify an invalid  file system, the "??"  in the
     name stands for the parent of a file system that does not
     have a  parent.  Path names  beginning with ...  (dot dot
     dot) indicate a loop.

FLAGS

     -a                  Lists includes the file names . (dot)
                         and .. (dot dot).
     -i  inumber . . .   Lists  only  the  file  specified  by
                         inumber.
     -s                  Lists  only special  files and  files
                         with set-user-ID mode.

EXAMPLES

     1.  To list  the i-number and  path name of each  file in
         the default file systems:

           ncheck

     2.  To list all the files in a specified file system:

           ncheck  -a  /

         This lists the i-number and path name of each file in
         the root  file system (/), including  the . (dot) and
         .. (dot-dot) entries in each directory ("-a").
     3.  To  list  the  name  of  a file  when  you  know  its
         i-number:

           ncheck  -i  690  357  280  /diskette0

         This lists the i-number and  path name for every file
         in  the  file  system /diskette0  with  i-numbers  of
         "690", "357", or "280".  If  a file has more than one
         link, all of its path names are listed.
     4.  To list special and set-user-ID files:

           ncheck  -s  /

         This lists the i-number and  path name for every file
         in the root file system  that is a special file (also
         called a  device file)  or that has  set-user-ID mode
         enabled.

RELATED INFORMATION

     The following commands:  "fsck, dfsck" and "sort."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026