mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
d1de5f7528
commit
296d592bc1
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue