.\" 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 "REGISTER_FILESYSTEM" "" "06 October 2005" "" "" .SH NAME register_filesystem \- register a new filesystem .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int register_filesystem (struct file_system_type * \fIfs\fB); \fR .SH "ARGUMENTS" .TP \fB\fIfs\fB\fR the file system structure .SH "DESCRIPTION" .PP Adds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error. .PP The &struct file_system_type that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.