paths.h revision 3189
11539Srgrimes/*
21539Srgrimes * Copyright (c) 1989, 1993
31539Srgrimes *	The Regents of the University of California.  All rights reserved.
41539Srgrimes *
51539Srgrimes * Redistribution and use in source and binary forms, with or without
61539Srgrimes * modification, are permitted provided that the following conditions
71539Srgrimes * are met:
81539Srgrimes * 1. Redistributions of source code must retain the above copyright
91539Srgrimes *    notice, this list of conditions and the following disclaimer.
101539Srgrimes * 2. Redistributions in binary form must reproduce the above copyright
111539Srgrimes *    notice, this list of conditions and the following disclaimer in the
121539Srgrimes *    documentation and/or other materials provided with the distribution.
131539Srgrimes * 3. All advertising materials mentioning features or use of this software
141539Srgrimes *    must display the following acknowledgement:
151539Srgrimes *	This product includes software developed by the University of
161539Srgrimes *	California, Berkeley and its contributors.
171539Srgrimes * 4. Neither the name of the University nor the names of its contributors
181539Srgrimes *    may be used to endorse or promote products derived from this software
191539Srgrimes *    without specific prior written permission.
201539Srgrimes *
211539Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221539Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231539Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241539Srgrimes * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251539Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261539Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271539Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281539Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291539Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301539Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311539Srgrimes * SUCH DAMAGE.
321539Srgrimes *
331539Srgrimes *	@(#)paths.h	8.1 (Berkeley) 6/2/93
341539Srgrimes */
351539Srgrimes
361539Srgrimes#ifndef _PATHS_H_
371539Srgrimes#define	_PATHS_H_
381539Srgrimes
393041Swollman#include <sys/cdefs.h>
403041Swollman
411539Srgrimes/* Default search path. */
421539Srgrimes#define	_PATH_DEFPATH	"/usr/bin:/bin"
431539Srgrimes/* All standard utilities path. */
441539Srgrimes#define	_PATH_STDPATH \
451570Srgrimes	"/usr/bin:/bin:/usr/sbin:/sbin:"
461539Srgrimes
471539Srgrimes#define	_PATH_BSHELL	"/bin/sh"
481539Srgrimes#define	_PATH_CONSOLE	"/dev/console"
491539Srgrimes#define	_PATH_CSHELL	"/bin/csh"
501539Srgrimes#define	_PATH_DEVDB	"/var/run/dev.db"
511539Srgrimes#define	_PATH_DEVNULL	"/dev/null"
521539Srgrimes#define	_PATH_DRUM	"/dev/drum"
533189Spst#define	_PATH_FTPUSERS	"/etc/ftpusers"
541539Srgrimes#define	_PATH_KMEM	"/dev/kmem"
551539Srgrimes#define	_PATH_MAILDIR	"/var/mail"
561539Srgrimes#define	_PATH_MAN	"/usr/share/man"
571539Srgrimes#define	_PATH_MEM	"/dev/mem"
581539Srgrimes#define	_PATH_NOLOGIN	"/etc/nologin"
591539Srgrimes#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
601539Srgrimes#define	_PATH_SHELLS	"/etc/shells"
611539Srgrimes#define	_PATH_TTY	"/dev/tty"
623041Swollman#define	_PATH_UNIX	"don't use _PATH_UNIX"
631539Srgrimes#define	_PATH_VI	"/usr/bin/vi"
641539Srgrimes
651539Srgrimes/* Provide trailing slash, since mostly used for building pathnames. */
661539Srgrimes#define	_PATH_DEV	"/dev/"
671539Srgrimes#define	_PATH_TMP	"/tmp/"
681539Srgrimes#define	_PATH_VARDB	"/var/db/"
691539Srgrimes#define	_PATH_VARRUN	"/var/run/"
701539Srgrimes#define	_PATH_VARTMP	"/var/tmp/"
711539Srgrimes
723041Swollman/* How to get the correct name of the kernel. */
733041Swollman__BEGIN_DECLS
743041Swollmanconst char *getbootfile __P((void));
753041Swollman__END_DECLS
763041Swollman
771539Srgrimes#endif /* !_PATHS_H_ */
78