Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: fstab.h
/*
[0] Fix | Delete
* Copyright (c) 1980, 1993
[1] Fix | Delete
* The Regents of the University of California. All rights reserved.
[2] Fix | Delete
*
[3] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[4] Fix | Delete
* modification, are permitted provided that the following conditions
[5] Fix | Delete
* are met:
[6] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[7] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[8] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[9] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[10] Fix | Delete
* documentation and/or other materials provided with the distribution.
[11] Fix | Delete
* 4. Neither the name of the University nor the names of its contributors
[12] Fix | Delete
* may be used to endorse or promote products derived from this software
[13] Fix | Delete
* without specific prior written permission.
[14] Fix | Delete
*
[15] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
[16] Fix | Delete
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[17] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[18] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
[19] Fix | Delete
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[20] Fix | Delete
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[21] Fix | Delete
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[22] Fix | Delete
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[23] Fix | Delete
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[24] Fix | Delete
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[25] Fix | Delete
* SUCH DAMAGE.
[26] Fix | Delete
*
[27] Fix | Delete
* @(#)fstab.h 8.1 (Berkeley) 6/2/93
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
#ifndef _FSTAB_H
[31] Fix | Delete
#define _FSTAB_H 1
[32] Fix | Delete
[33] Fix | Delete
#include <features.h>
[34] Fix | Delete
[35] Fix | Delete
/*
[36] Fix | Delete
* File system table, see fstab(5).
[37] Fix | Delete
*
[38] Fix | Delete
* Used by dump, mount, umount, swapon, fsck, df, ...
[39] Fix | Delete
*
[40] Fix | Delete
* For ufs fs_spec field is the block special name. Programs that want to
[41] Fix | Delete
* use the character special name must create that name by prepending a 'r'
[42] Fix | Delete
* after the right most slash. Quota files are always named "quotas", so
[43] Fix | Delete
* if type is "rq", then use concatenation of fs_file and "quotas" to locate
[44] Fix | Delete
* quota file.
[45] Fix | Delete
*/
[46] Fix | Delete
#define _PATH_FSTAB "/etc/fstab"
[47] Fix | Delete
#define FSTAB "/etc/fstab" /* deprecated */
[48] Fix | Delete
[49] Fix | Delete
#define FSTAB_RW "rw" /* read/write device */
[50] Fix | Delete
#define FSTAB_RQ "rq" /* read/write with quotas */
[51] Fix | Delete
#define FSTAB_RO "ro" /* read-only device */
[52] Fix | Delete
#define FSTAB_SW "sw" /* swap device */
[53] Fix | Delete
#define FSTAB_XX "xx" /* ignore totally */
[54] Fix | Delete
[55] Fix | Delete
struct fstab
[56] Fix | Delete
{
[57] Fix | Delete
char *fs_spec; /* block special device name */
[58] Fix | Delete
char *fs_file; /* file system path prefix */
[59] Fix | Delete
char *fs_vfstype; /* File system type, ufs, nfs */
[60] Fix | Delete
char *fs_mntops; /* Mount options ala -o */
[61] Fix | Delete
const char *fs_type; /* FSTAB_* from fs_mntops */
[62] Fix | Delete
int fs_freq; /* dump frequency, in days */
[63] Fix | Delete
int fs_passno; /* pass number on parallel dump */
[64] Fix | Delete
};
[65] Fix | Delete
[66] Fix | Delete
[67] Fix | Delete
__BEGIN_DECLS
[68] Fix | Delete
[69] Fix | Delete
extern struct fstab *getfsent (void) __THROW;
[70] Fix | Delete
extern struct fstab *getfsspec (const char *__name) __THROW;
[71] Fix | Delete
extern struct fstab *getfsfile (const char *__name) __THROW;
[72] Fix | Delete
extern int setfsent (void) __THROW;
[73] Fix | Delete
extern void endfsent (void) __THROW;
[74] Fix | Delete
[75] Fix | Delete
__END_DECLS
[76] Fix | Delete
[77] Fix | Delete
#endif /* fstab.h */
[78] Fix | Delete
[79] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function