X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Finclude%2Ffstab.h;h=fa93f04a72cd95410b45cdf7ab69204d40fce179;hb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a;hp=5b00e7a4a864c5a64fd8eee7db4453c92aea8ab2;hpb=1227625a12a66e0ded78a1997c2d23f23202a382;p=dump.git diff --git a/compat/include/fstab.h b/compat/include/fstab.h index 5b00e7a..fa93f04 100644 --- a/compat/include/fstab.h +++ b/compat/include/fstab.h @@ -1,8 +1,11 @@ /* * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit - * Remy Card , 1994, 1995, 1996 + * Remy Card , 1994-1997 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 * + * $Id: fstab.h,v 1.10 2000/12/21 11:14:53 stelian Exp $ */ /* @@ -36,13 +39,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * @(#)fstab.h 8.1 (Berkeley) 6/2/93 */ #ifndef _FSTAB_H_ #define _FSTAB_H_ +#include + /* * File system table, see fstab(5). * @@ -54,8 +57,15 @@ * if type is "rq", then use concatenation of fs_file and "quotas" to locate * quota file. */ +#ifdef __linux__ +#include +#ifdef _PATH_MNTTAB +#define _PATH_FSTAB _PATH_MNTTAB +#else #define _PATH_FSTAB "/etc/fstab" -#define FSTAB "/etc/fstab" /* deprecated */ +#endif +#endif /* __linux__ */ +#define FSTAB _PATH_FSTAB /* deprecated */ #define FSTAB_DEF "defaults" /* default mount option */ #define FSTAB_RW "rw" /* read/write device */