paths.h revision 96194
1255570Strasz/* 2255570Strasz * Copyright (c) 1989, 1993 3255570Strasz * The Regents of the University of California. All rights reserved. 4255570Strasz * 5255570Strasz * Redistribution and use in source and binary forms, with or without 6255570Strasz * modification, are permitted provided that the following conditions 7255570Strasz * are met: 8255570Strasz * 1. Redistributions of source code must retain the above copyright 9255570Strasz * notice, this list of conditions and the following disclaimer. 10255570Strasz * 2. Redistributions in binary form must reproduce the above copyright 11255570Strasz * notice, this list of conditions and the following disclaimer in the 12255570Strasz * documentation and/or other materials provided with the distribution. 13255570Strasz * 3. All advertising materials mentioning features or use of this software 14255570Strasz * must display the following acknowledgement: 15255570Strasz * This product includes software developed by the University of 16255570Strasz * California, Berkeley and its contributors. 17255570Strasz * 4. Neither the name of the University nor the names of its contributors 18255570Strasz * may be used to endorse or promote products derived from this software 19255570Strasz * without specific prior written permission. 20255570Strasz * 21255570Strasz * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22255570Strasz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23255570Strasz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24255570Strasz * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25255570Strasz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26255570Strasz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27255570Strasz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28255570Strasz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29255570Strasz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30255570Strasz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31255570Strasz * SUCH DAMAGE. 32255570Strasz * 33255570Strasz * @(#)paths.h 8.1 (Berkeley) 6/2/93 34255570Strasz * $FreeBSD: head/include/paths.h 96194 2002-05-08 00:37:50Z des $ 35255570Strasz */ 36255570Strasz 37270279Strasz#ifndef _PATHS_H_ 38270279Strasz#define _PATHS_H_ 39270279Strasz 40255570Strasz#include <sys/cdefs.h> 41255570Strasz 42255570Strasz/* Default search path. */ 43255570Strasz#define _PATH_DEFPATH "/usr/bin:/bin" 44255570Strasz/* All standard utilities path. */ 45255570Strasz#define _PATH_STDPATH \ 46255570Strasz "/usr/bin:/bin:/usr/sbin:/sbin:" 47255570Strasz 48263234Srwatson#define _PATH_AUTHCONF "/etc/auth.conf" 49255570Strasz#define _PATH_BSHELL "/bin/sh" 50255570Strasz#define _PATH_CAPABILITY "/etc/capability" 51255570Strasz#define _PATH_CAPABILITY_DB "/etc/capability.db" 52255570Strasz#define _PATH_CONSOLE "/dev/console" 53255570Strasz#define _PATH_CP "/bin/cp" 54255570Strasz#define _PATH_CSHELL "/bin/csh" 55255570Strasz#define _PATH_DEFTAPE "/dev/sa0" 56255570Strasz#define _PATH_DEVDB "/var/run/dev.db" 57255570Strasz#define _PATH_DEVNULL "/dev/null" 58255570Strasz#define _PATH_DEVZERO "/dev/zero" 59255570Strasz#define _PATH_DRUM "/dev/drum" 60255570Strasz#define _PATH_ETC "/etc" 61255570Strasz#define _PATH_FTPUSERS "/etc/ftpusers" 62255570Strasz#define _PATH_KMEM "/dev/kmem" 63255570Strasz#define _PATH_LOGIN "/usr/bin/login" 64255570Strasz#define _PATH_MAILDIR "/var/mail" 65255570Strasz#define _PATH_MAN "/usr/share/man" 66255570Strasz#define _PATH_MEM "/dev/mem" 67255570Strasz#define _PATH_NOLOGIN "/var/run/nologin" 68264524Strasz#define _PATH_RCP "/usr/bin/rcp" 69264524Strasz#define _PATH_RLOGIN "/usr/bin/rlogin" 70255570Strasz#define _PATH_RSH "/usr/bin/rsh" 71255570Strasz#define _PATH_SENDMAIL "/usr/sbin/sendmail" 72255570Strasz#define _PATH_SHELLS "/etc/shells" 73255570Strasz#define _PATH_TTY "/dev/tty" 74264524Strasz#define _PATH_UNIX "don't use _PATH_UNIX" 75255570Strasz#define _PATH_VI "/usr/bin/vi" 76255570Strasz 77255570Strasz/* Provide trailing slash, since mostly used for building pathnames. */ 78255570Strasz#define _PATH_DEV "/dev/" 79255570Strasz#define _PATH_TMP "/tmp/" 80255570Strasz#define _PATH_VARDB "/var/db/" 81255570Strasz#define _PATH_VARRUN "/var/run/" 82255570Strasz#define _PATH_VARTMP "/var/tmp/" 83255570Strasz#define _PATH_YP "/var/yp/" 84255665Strasz#define _PATH_UUCPLOCK "/var/spool/lock/" 85255570Strasz 86255570Strasz/* How to get the correct name of the kernel. */ 87255570Strasz__BEGIN_DECLS 88255570Straszconst char *getbootfile(void); 89255570Strasz__END_DECLS 90255570Strasz 91255570Strasz#endif /* !_PATHS_H_ */ 92255570Strasz