paths.h revision 1540
1145522Sdarrenr/* 2145522Sdarrenr * Copyright (c) 1989, 1993 353642Sguido * The Regents of the University of California. All rights reserved. 4255332Scy * 553642Sguido * Redistribution and use in source and binary forms, with or without 680482Sdarrenr * modification, are permitted provided that the following conditions 7255332Scy * are met: 8255332Scy * 1. Redistributions of source code must retain the above copyright 9255332Scy * notice, this list of conditions and the following disclaimer. 10255332Scy * 2. Redistributions in binary form must reproduce the above copyright 11255332Scy * notice, this list of conditions and the following disclaimer in the 1253642Sguido * documentation and/or other materials provided with the distribution. 13145522Sdarrenr * 3. All advertising materials mentioning features or use of this software 14145522Sdarrenr * must display the following acknowledgement: 15145522Sdarrenr * This product includes software developed by the University of 16145522Sdarrenr * California, Berkeley and its contributors. 17145522Sdarrenr * 4. Neither the name of the University nor the names of its contributors 1892685Sdarrenr * may be used to endorse or promote products derived from this software 1953642Sguido * without specific prior written permission. 2053642Sguido * 2153642Sguido * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2253642Sguido * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23145522Sdarrenr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2457096Sguido * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2563523Sdarrenr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26145522Sdarrenr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2763523Sdarrenr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2863523Sdarrenr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2963523Sdarrenr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3063523Sdarrenr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3163523Sdarrenr * SUCH DAMAGE. 3263523Sdarrenr * 3353642Sguido * @(#)paths.h 8.1 (Berkeley) 6/2/93 3453642Sguido */ 3553642Sguido 3653642Sguido#ifndef _PATHS_H_ 37170268Sdarrenr#define _PATHS_H_ 38170268Sdarrenr 39170268Sdarrenr/* Default search path. */ 40153876Sguido#define _PATH_DEFPATH "/usr/bin:/bin" 41153876Sguido/* All standard utilities path. */ 42153876Sguido#define _PATH_STDPATH \ 43145522Sdarrenr "/usr/bin:/bin:/usr/sbin:/sbin:/usr/contrib/bin:/usr/old/bin" 4453642Sguido 45145522Sdarrenr#define _PATH_BSHELL "/bin/sh" 4653642Sguido#define _PATH_CONSOLE "/dev/console" 4753642Sguido#define _PATH_CSHELL "/bin/csh" 4853642Sguido#define _PATH_DEVDB "/var/run/dev.db" 4953642Sguido#define _PATH_DEVNULL "/dev/null" 50145522Sdarrenr#define _PATH_DRUM "/dev/drum" 51145522Sdarrenr#define _PATH_KMEM "/dev/kmem" 52145522Sdarrenr#define _PATH_MAILDIR "/var/mail" 53145522Sdarrenr#define _PATH_MAN "/usr/share/man" 54145522Sdarrenr#define _PATH_MEM "/dev/mem" 55145522Sdarrenr#define _PATH_NOLOGIN "/etc/nologin" 56145522Sdarrenr#define _PATH_SENDMAIL "/usr/sbin/sendmail" 57145522Sdarrenr#define _PATH_SHELLS "/etc/shells" 5853642Sguido#define _PATH_TTY "/dev/tty" 59145522Sdarrenr#define _PATH_UNIX "/vmunix" 60145522Sdarrenr#define _PATH_VI "/usr/bin/vi" 61145522Sdarrenr 62145522Sdarrenr/* Provide trailing slash, since mostly used for building pathnames. */ 63145522Sdarrenr#define _PATH_DEV "/dev/" 64145522Sdarrenr#define _PATH_TMP "/tmp/" 6553642Sguido#define _PATH_VARDB "/var/db/" 66145522Sdarrenr#define _PATH_VARRUN "/var/run/" 6753642Sguido#define _PATH_VARTMP "/var/tmp/" 6853642Sguido 6953642Sguido#endif /* !_PATHS_H_ */ 70145522Sdarrenr