74 lines
1.4 KiB
HTML
74 lines
1.4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>ncheck(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>ncheck(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
ncheck - i-node to name converter
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>ncheck</STRONG> [<STRONG>-i</STRONG> <EM>numbers</EM>] [<STRONG>-a</STRONG>] [<STRONG>-s</STRONG>] <EM>file</EM>_<EM>system</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-a</STRONG> List all files, even . and ..
|
|
|
|
<STRONG>-i</STRONG> Followed by a list of i-nodes
|
|
|
|
<STRONG>-s</STRONG> List only special and setuid files
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>ncheck</STRONG> <STRONG>-</STRONG> <STRONG>/dev/fd0</STRONG> # List everything on /<EM>dev</EM>/<EM>fd0</EM>
|
|
|
|
<STRONG>ncheck</STRONG> <STRONG>-i</STRONG> <STRONG>10,15</STRONG> <STRONG>/dev/fd0</STRONG>
|
|
# List i-nodes 10 and 15 on /<EM>dev</EM>/<EM>fd0</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
Sometimes one knows about an i-node number and wants to find the file
|
|
name that goes with it. This program makes that mapping. The default is
|
|
to list everything on the device, but the <STRONG>-i</STRONG> flag restricts the list to
|
|
specified i-nodes and the <STRONG>-s</STRONG> flag restricts it to special files and
|
|
setuid files (to look for possible security violations).
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/fsck.1.html">fsck(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|