fstypes(4) fstypes(4)NAME fstypes - name-mapping information for file systems SYNOPSIS #include <sys/fstypent.h> DESCRIPTION /etc/fstypes contains information about file-system types. It can be modified by the system administrator using a text editor. The file is used by commands that need to know the type of a specified file system. It is also used by commands to determine the location of file-system-dependent utilities. The /etc/fstypes file consists of lines in the following format: numeric-type name-list [pathname-list] For example:0 5.2,svfs,s5 /etc/fs/5.2:/etc/fs/svfsThe fields are separated by white space; a # as the firstcharacter indicates a comment. A # after name-list orpath-list indicates that the rest of the line is a comment.The placeholder numeric-type is the integer type that ispassed to fsmount. See fsmount(2). These are defined in<sys/mount.h>. The name-list is a comma-separated list ofcharacter strings that describe the file-system type. Atleast one of these is defined in <mntent.h>. Thepathname-list is a colon-separated list of pathnames. Thesepathnames indicate where utility programs associated withthe file-system type reside. If this field is empty, thedefault location is /etc/fs/name-list.The entries in this file are accessed using fstypent, whichreads the next entry from the file and returns a pointer toa struct fstypent. This structure is defined in<sys/fstypent> as:struct fstypent { int fstype; char **typelist; char *pathlist; }; FILES /etc/fstypes SEE ALSO getmntent(3), fstypent(3), fs(4), fstab(4) January 1992 1