[BACK]Return to xfs_ncheck.8 CVS log [TXT][DIR] Up to [Development] / xfs-cmds / xfsprogs / man / man8

File: [Development] / xfs-cmds / xfsprogs / man / man8 / xfs_ncheck.8 (download)

Revision 1.1, Mon Jan 15 05:36:03 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1, Release-1_0_0, Linux-2_4_5-merge

cmd/xfs/man/man8/xfs_ncheck.8 1.2 Renamed to cmd/xfsprogs/man/man8/xfs_ncheck.8

.TH xfs_ncheck 8
.SH NAME
xfs_ncheck \- generate pathnames from i-numbers for XFS
.SH SYNOPSIS
.nf
\f3xfs_ncheck\f1 [ \f3\-i\f1 ino ] ... \c
[ \f3\-s\f1 ] xfs_special
.sp .8v
\f3xfs_ncheck\f1 \f3\-f\f1 [ \f3\-i\f1 ino ] ... \c
[ \f3\-s\f1 ] file
.fi
.SH DESCRIPTION
.I xfs_ncheck
with no
.B \-i
arguments generates an inode number and pathname list of all
files on the given filesystem.
Names of directory files are followed by 
.BR /. .
The output is not sorted in any particular order.
The filesystem to be examined is specified by the
.I xfs_special
argument, which should be the disk or volume device for the filesystem.
Filesystems stored in files can also be checked, using the \f3\-f\f1 flag.
.PP
The options to \f2xfs_ncheck\f1 are:
.TP 9
.B \-f
Specifies that the special device is actually a file (see the
\f2mkfs.xfs\f1 \f3\-d\f1 \f2file\f1 option).
This might happen if an image copy
of a filesystem has been made into an ordinary file.
.TP
.B \-s
Limits the report to special files and files with setuserid mode.
This option may be used to detect violations of security policy.
.TP
.BI \-i " ino"
Limits the report to only those files whose inode numbers follow.
May be given multiple times to select multiple inode numbers.
.PP
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
.IR xfs_check (8)
may appear.
.PP
.I xfs_ncheck
is only useful with XFS filesystems.
.SH SEE ALSO
mkfs.xfs(8),
xfs_ncheck(8),
xfs_check(8),
xfs(5).