OSDN Git Service

(split) LDP: Update original to LDP v3.54
[linuxjm/LDP_man-pages.git] / original / man2 / sysfs.2
index f9c47d2..b184032 100644 (file)
@@ -26,7 +26,7 @@
 .\"
 .TH SYSFS 2 2010-06-27 "Linux" "Linux Programmer's Manual"
 .SH NAME
-sysfs \- get file system type information
+sysfs \- get filesystem type information
 .SH SYNOPSIS
 .BI "int sysfs(int " option ", const char *" fsname );
 
@@ -35,7 +35,7 @@ sysfs \- get file system type information
 .BI "int sysfs(int " option );
 .SH DESCRIPTION
 .BR sysfs ()
-returns information about the file system types currently present in
+returns information about the filesystem types currently present in
 the kernel.
 The specific form of the
 .BR sysfs ()
@@ -44,14 +44,14 @@ call and the information returned depends on the
 in effect:
 .TP 3
 .B 1
-Translate the file-system identifier string
+Translate the filesystem identifier string
 .I fsname
-into a file-system type index.
+into a filesystem type index.
 .TP
 .B 2
-Translate the file-system type index
+Translate the filesystem type index
 .I fs_index
-into a null-terminated file-system identifier string.
+into a null-terminated filesystem identifier string.
 This string will
 be written to the buffer pointed to by
 .IR buf .
@@ -60,18 +60,18 @@ Make sure that
 has enough space to accept the string.
 .TP
 .B 3
-Return the total number of file system types currently present in the
+Return the total number of filesystem types currently present in the
 kernel.
 .PP
-The numbering of the file-system type indexes begins with zero.
+The numbering of the filesystem type indexes begins with zero.
 .SH RETURN VALUE
 On success,
 .BR sysfs ()
-returns the file-system index for option
+returns the filesystem index for option
 .BR 1 ,
 zero for option
 .BR 2 ,
-and the number of currently configured file systems for option
+and the number of currently configured filesystems for option
 .BR 3 .
 On error, \-1 is returned, and
 .I errno
@@ -84,7 +84,7 @@ is outside your accessible address space.
 .TP
 .B EINVAL
 .I fsname
-is not a valid file-system type identifier;
+is not a valid filesystem type identifier;
 .I fs_index
 is out-of-bounds;
 .I option