paths.h revision 73986
11558Srgrimes/*
250476Speter * Copyright (c) 1989, 1993
31558Srgrimes *	The Regents of the University of California.  All rights reserved.
412481Speter *
51558Srgrimes * Redistribution and use in source and binary forms, with or without
641061Sbde * modification, are permitted provided that the following conditions
774448Ssos * are met:
841061Sbde * 1. Redistributions of source code must retain the above copyright
939271Sphk *    notice, this list of conditions and the following disclaimer.
1039255Sgibbs * 2. Redistributions in binary form must reproduce the above copyright
1138653Sgpalmer *    notice, this list of conditions and the following disclaimer in the
1238653Sgpalmer *    documentation and/or other materials provided with the distribution.
1355980Speter * 3. All advertising materials mentioning features or use of this software
1485380Sjlemon *    must display the following acknowledgement:
15100206Sdd *	This product includes software developed by the University of
1643859Sobrien *	California, Berkeley and its contributors.
1738653Sgpalmer * 4. Neither the name of the University nor the names of its contributors
1838653Sgpalmer *    may be used to endorse or promote products derived from this software
1938653Sgpalmer *    without specific prior written permission.
2038653Sgpalmer *
2138653Sgpalmer * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2238653Sgpalmer * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2379458Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2479457Sobrien * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2538653Sgpalmer * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2638653Sgpalmer * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2769800Stomsoft * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2838653Sgpalmer * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2938653Sgpalmer * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3056815Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3138653Sgpalmer * SUCH DAMAGE.
3278978Sroam *
3338653Sgpalmer *	@(#)paths.h	8.1 (Berkeley) 6/2/93
3438653Sgpalmer * $FreeBSD: head/include/paths.h 73986 2001-03-08 09:04:40Z obrien $
3538653Sgpalmer */
3638843Sjb
3738653Sgpalmer#ifndef _PATHS_H_
3870450Sphk#define	_PATHS_H_
3978448Sdd
4038653Sgpalmer#include <sys/cdefs.h>
4138653Sgpalmer
4238653Sgpalmer/* Default search path. */
4338653Sgpalmer#define	_PATH_DEFPATH	"/usr/bin:/bin"
4477577Sru/* All standard utilities path. */
4538653Sgpalmer#define	_PATH_STDPATH \
4643557Ssemenu	"/usr/bin:/bin:/usr/sbin:/sbin:"
4777042Sru
4877042Sru#define _PATH_AUTHCONF  "/etc/auth.conf"
4938653Sgpalmer#define	_PATH_BSHELL	"/bin/sh"
5094658Sscottl#define	_PATH_CONSOLE	"/dev/console"
5177042Sru#define	_PATH_CSHELL	"/bin/csh"
5277042Sru#define	_PATH_DEFTAPE	"/dev/sa0"
5344690Sbrian#define	_PATH_DEVDB	"/var/run/dev.db"
5438653Sgpalmer#define	_PATH_DEVNULL	"/dev/null"
5538653Sgpalmer#define	_PATH_DEVZERO	"/dev/zero"
56100636Speter#define	_PATH_DRUM	"/dev/drum"
5738653Sgpalmer#define	_PATH_FTPUSERS	"/etc/ftpusers"
5838653Sgpalmer#define	_PATH_KMEM	"/dev/kmem"
5938653Sgpalmer#define	_PATH_MAILDIR	"/var/mail"
6055163Sshin#define	_PATH_MAN	"/usr/share/man"
6138653Sgpalmer#define	_PATH_MEM	"/dev/mem"
6298187Sgordon#define	_PATH_NOLOGIN	"/var/run/nologin"
6338653Sgpalmer#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
6438653Sgpalmer#define	_PATH_SHELLS	"/etc/shells"
6538653Sgpalmer#define	_PATH_TTY	"/dev/tty"
6638653Sgpalmer#define	_PATH_UNIX	"don't use _PATH_UNIX"
6755163Sshin#define	_PATH_VI	"/usr/bin/vi"
6893651Smarcel
6938653Sgpalmer/* Provide trailing slash, since mostly used for building pathnames. */
7038653Sgpalmer#define	_PATH_DEV	"/dev/"
7141061Sbde#define	_PATH_TMP	"/tmp/"
7238653Sgpalmer#define	_PATH_VARDB	"/var/db/"
7385469Sru#define	_PATH_VARRUN	"/var/run/"
7446878Sobrien#define	_PATH_VARTMP	"/var/tmp/"
7538653Sgpalmer#define	_PATH_YP	"/var/yp/"
7642117Ssos#define	_PATH_UUCPLOCK	"/var/spool/lock/"
7742117Ssos
7810855Sjoerg/* How to get the correct name of the kernel. */
7992868Sru__BEGIN_DECLS
8092868Sruconst char *getbootfile __P((void));
8192868Sru__END_DECLS
8292868Sru
8392868Sru#endif /* !_PATHS_H_ */
8492868Sru