.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NTFS_STATFS" "" "06 October 2005" "" ""
.SH NAME
ntfs_statfs \- return information about mounted NTFS volume
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_statfs (struct super_block * \fIsb\fB, struct kstatfs * \fIsfs\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsb\fB\fR
super block of mounted volume
.TP
\fB\fIsfs\fB\fR
statfs structure in which to return the information
.SH "DESCRIPTION"
.PP
Return information about the mounted NTFS volume \fIsb\fR in the statfs structure
pointed to by \fIsfs\fR (this is initialized with zeros before ntfs_statfs is
called). We interpret the values to be correct of the moment in time at
which we are called. Most values are variable otherwise and this isn't just
the free values but the totals as well. For example we can increase the
total number of file nodes if we run out and we can keep doing this until
there is no more space on the volume left at all.
.PP
Called from vfs_statfs which is used to handle the statfs, fstatfs, and
ustat system calls.
.PP
Return 0 on success or -errno on error.