This commit is contained in:
Michael Kerrisk 2007-07-09 21:07:06 +00:00
parent d1de5f7528
commit 296d592bc1
2 changed files with 15 additions and 10 deletions

View File

@ -40,19 +40,22 @@ getfsent, getfsspec, getfsfile, setfsent, endfsent \- handle fstab entries
.SH DESCRIPTION
These functions read from the file
.IR /etc/fstab .
The \fIstruct fstab\fP is defined by
The \fIstruct fstab\fP is defined by:
.LP
.in +0.5i
.nf
struct fstab {
char *fs_spec; /* block device name */
char *fs_file; /* mount point */
char *fs_vfstype; /* filesystem type */
char *fs_mntops; /* mount options */
const char *fs_type; /* rw/rq/ro/sw/xx option */
int fs_freq; /* dump frequency, in days */
int fs_passno; /* pass number on parallel dump */
char *fs_spec; /* block device name */
char *fs_file; /* mount point */
char *fs_vfstype; /* filesystem type */
char *fs_mntops; /* mount options */
const char *fs_type; /* rw/rq/ro/sw/xx option */
int fs_freq; /* dump frequency, in days */
int fs_passno; /* pass number on parallel dump */
};
.fi
.in
.PP
Here the field
.I fs_type
contains (on a *BSD system)

View File

@ -226,11 +226,13 @@ These will store their error code in
.SH EXAMPLE
One example of use is the following code, which simulates typing
.sp
.B ls \-l *.c ../*.c
.in +4n
ls \-l *.c ../*.c
.in
.sp
in the shell:
.nf
.in 10
.in +4n
glob_t globbuf;