<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator : groff version 1.15 -->
<!-- CreationDate: Mon Apr 24 10:40:33 2000
-->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left margin: 100 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p><font size=3>xfs_ncheck, xfs_ncheck64 - generate pathnames from i-numbers for XFS</p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2>
<table width="100%" rules="none" frame="none" cols="2">
<tr valign="top" align="left">
<td valign="top" align="left" width="38.3077%">
<p><font size=3><B>xfs_ncheck</B> <font size=3>[ <font size=3><B>-i</B> <font size=3>ino ] ... [ <font size=3><B>-s</B> <font size=3>] xfs_special</p>
<p><font size=3><B>xfs_ncheck -f</B> <font size=3>[ <font size=3><B>-i</B> <font size=3>ino ] ... [ <font size=3><B>-s</B> <font size=3>] file</p>
<p><font size=3><B>xfs_ncheck64</B> <font size=3>[ <font size=3><B>-i</B> <font size=3>ino ] ... [ <font size=3><B>-s</B> <font size=3>] xfs_special</p>
<p><font size=3><B>xfs_ncheck64 -f</B> <font size=3>[ <font size=3><B>-i</B> <font size=3>ino ] ... [ <font size=3><B>-s</B> <font size=3>] file</p>
</td>
<td valign="top" align="left" width="61.6923%">
</td>
</tr>
</table>
<br>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p><font size=3><I>xfs_ncheck</I> <font size=3>with no <font size=3><B>-i</B> <font size=3>arguments generates an inode number and pathname list of all files on the given filesystem. Names of directory files are followed by <font size=3><B>/.</B><font size=3>. The output is not sorted in any particular order. The filesystem to be examined is specified by the <font size=3><I>xfs_special</I> <font size=3>argument, which should be the disk or volume device for the filesystem. Filesystems stored in files can also be checked, using the <font size=3><B>-f</B> <font size=3>flag.</p>
<p><font size=3><I>xfs_ncheck64</I> <font size=3>is a 64-bit version of <font size=3><I>xfs_check</I> <font size=3>which is not as susceptible to running out of memory. It is available only on 64-bit capable systems.</p>
<p><font size=3>The options to <font size=3><I>xfs_ncheck</I> <font size=3>are:</p>
<table width="100%" rules="none" frame="none" cols="3">
<tr valign="top" align="left">
<td valign="top" align="left" width="5.2308%">
<p><font size=3><B>-f</p>
</B></td>
<td valign="top" align="left" width="3.0769%">
</td>
<td valign="top" align="left" width="91.6923%">
<p><font size=3>Specifies that the special device is actually a file (see the <font size=3><I>mkfs_xfs</I> <font size=3><B>-d</B> <font size=3><I>file</I> <font size=3>option). This might happen if an image copy of a filesystem has been made into an ordinary file.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="5.2308%">
<p><font size=3><B>-s</p>
</B></td>
<td valign="top" align="left" width="3.0769%">
</td>
<td valign="top" align="left" width="91.6923%">
<p><font size=3>Limits the report to special files and files with setuserid mode. This option may be used to detect viola- tions of security policy.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="5.2308%">
<p><font size=3><B>-i</B> <font size=3><I>ino</p>
</I></td>
<td valign="top" align="left" width="3.0769%">
</td>
<td valign="top" align="left" width="91.6923%">
<p><font size=3>Limits the report to only those files whose inode numbers follow. May be given multiple times to select<br>
multiple inode numbers.</p>
</td>
</tr>
</table>
<p><font size=3>If the filesystem is seriously corrupted, or very busy and looks like it is corrupt, a message of the form that would be generated by <font size=3><I>xfs_check</I><font size=3>(1M) may appear.</p>
<p><font size=3><I>xfs_ncheck</I> <font size=3>is only useful with XFS filesystems. For EFS filesystems, see <font size=3><I>ncheck</I><font size=3>(1M).</p>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p><font size=3>mkfs_xfs(1M), ncheck(1M), xfs_check(1M), xfs(4).<br>
</p>
</body>
</html>