source: trunk/src/emx/include/paths.h@ 1508

Last change on this file since 1508 was 1506, checked in by bird, 21 years ago

@unixroot. header reviews. ++

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 5.7 KB
Line 
1/* paths.h,v 1.2 2004/09/14 22:27:35 bird Exp */
2/** @file
3 * FreeBSD 5.2
4 * @changed bird: /@unixroot
5 */
6
7/*
8 * Copyright (c) 1989, 1993
9 * The Regents of the University of California. All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
18 * documentation and/or other materials provided with the distribution.
19 * 3. All advertising materials mentioning features or use of this software
20 * must display the following acknowledgement:
21 * This product includes software developed by the University of
22 * California, Berkeley and its contributors.
23 * 4. Neither the name of the University nor the names of its contributors
24 * may be used to endorse or promote products derived from this software
25 * without specific prior written permission.
26 *
27 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 *
39 * @(#)paths.h 8.1 (Berkeley) 6/2/93
40 * $FreeBSD: src/include/paths.h,v 1.25 2004/01/04 17:17:46 iedowse Exp $
41 */
42
43#ifndef _PATHS_H_
44#define _PATHS_H_
45
46#include <sys/cdefs.h>
47
48/* Default search path. */
49#define _PATH_DEFPATH "/@unixroot/usr/bin:/@unixroot/bin"
50/* All standard utilities path. */
51#define _PATH_STDPATH \
52 "/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin:"
53/* Locate system binaries */
54#define _PATH_SYSPATH \
55 "/@unixroot/sbin:/@unixroot/usr/sbin"
56
57#define _PATH_AUTHCONF "/@unixroot/etc/auth.conf"
58#define _PATH_BSHELL "/@unixroot/bin/sh"
59#define _PATH_CAPABILITY "/@unixroot/etc/capability"
60#define _PATH_CAPABILITY_DB "/@unixroot/etc/capability.db"
61#define _PATH_CONSOLE "/@unixroot/dev/console"
62#define _PATH_CP "/@unixroot/bin/cp"
63#define _PATH_CSHELL "/@unixroot/bin/csh"
64#define _PATH_DEFTAPE "/@unixroot/dev/sa0"
65#define _PATH_DEVNULL "/@unixroot/dev/null"
66#define _PATH_DEVZERO "/@unixroot/dev/zero"
67#define _PATH_DRUM "/@unixroot/dev/drum"
68#define _PATH_ETC "/@unixroot/etc"
69#define _PATH_FTPUSERS "/@unixroot/etc/ftpusers"
70#define _PATH_HALT "/@unixroot/sbin/halt"
71#define _PATH_IFCONFIG "/@unixroot/sbin/ifconfig"
72#define _PATH_KMEM "/@unixroot/dev/kmem"
73#define _PATH_LIBMAP_CONF "/@unixroot/etc/libmap.conf"
74#define _PATH_LOCALE "/@unixroot/usr/share/locale"
75#define _PATH_LOGIN "/@unixroot/usr/bin/login"
76#define _PATH_MAILDIR "/@unixroot/var/mail"
77#define _PATH_MAN "/@unixroot/usr/share/man"
78#define _PATH_MDCONFIG "/@unixroot/sbin/mdconfig"
79#define _PATH_MEM "/@unixroot/dev/mem"
80#define _PATH_MKSNAP_FFS "/@unixroot/sbin/mksnap_ffs"
81#define _PATH_MOUNT "/@unixroot/sbin/mount"
82#define _PATH_NEWFS "/@unixroot/sbin/newfs"
83#define _PATH_NOLOGIN "/@unixroot/var/run/nologin"
84#define _PATH_RCP "/@unixroot/bin/rcp"
85#define _PATH_REBOOT "/@unixroot/sbin/reboot"
86#define _PATH_RLOGIN "/@unixroot/usr/bin/rlogin"
87#define _PATH_RM "/@unixroot/bin/rm"
88#define _PATH_RSH "/@unixroot/usr/bin/rsh"
89#define _PATH_SENDMAIL "/@unixroot/usr/sbin/sendmail"
90#define _PATH_SHELLS "/@unixroot/etc/shells"
91#define _PATH_TTY "/@unixroot/dev/tty"
92#define _PATH_UNIX "don't use _PATH_UNIX"
93#define _PATH_VI "/@unixroot/usr/bin/vi"
94#define _PATH_WALL "/@unixroot/usr/bin/wall"
95
96/* Provide trailing slash, since mostly used for building pathnames. */
97#define _PATH_DEV "/@unixroot/dev/"
98#define _PATH_TMP "/@unixroot/tmp/"
99#define _PATH_VARDB "/@unixroot/var/db/"
100#define _PATH_VARRUN "/@unixroot/var/run/"
101#define _PATH_VARTMP "/@unixroot/var/tmp/"
102#define _PATH_YP "/@unixroot/var/yp/"
103#define _PATH_UUCPLOCK "/@unixroot/var/spool/lock/"
104
105/* How to get the correct name of the kernel. */
106__BEGIN_DECLS
107const char *getbootfile(void);
108__END_DECLS
109
110#ifdef RESCUE
111#undef _PATH_DEFPATH
112#define _PATH_DEFPATH "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin"
113#undef _PATH_STDPATH
114#define _PATH_STDPATH "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin"
115#undef _PATH_SYSPATH
116#define _PATH_SYSPATH "/@unixroot/rescue:/@unixroot/sbin:/@unixroot/usr/sbin"
117#undef _PATH_BSHELL
118#define _PATH_BSHELL "/@unixroot/rescue/sh"
119#undef _PATH_CP
120#define _PATH_CP "/@unixroot/rescue/cp"
121#undef _PATH_CSHELL
122#define _PATH_CSHELL "/@unixroot/rescue/csh"
123#undef _PATH_HALT
124#define _PATH_HALT "/@unixroot/rescue/halt"
125#undef _PATH_IFCONFIG
126#define _PATH_IFCONFIG "/@unixroot/rescue/ifconfig"
127#undef _PATH_MDCONFIG
128#define _PATH_MDCONFIG "/@unixroot/rescue/mdconfig"
129#undef _PATH_MOUNT
130#define _PATH_MOUNT "/@unixroot/rescue/mount"
131#undef _PATH_NEWFS
132#define _PATH_NEWFS "/@unixroot/rescue/newfs"
133#undef _PATH_RCP
134#define _PATH_RCP "/@unixroot/rescue/rcp"
135#undef _PATH_REBOOT
136#define _PATH_REBOOT "/@unixroot/rescue/reboot"
137#undef _PATH_RM
138#define _PATH_RM "/@unixroot/rescue/rm"
139#undef _PATH_VI
140#define _PATH_VI "/@unixroot/rescue/vi"
141#undef _PATH_WALL
142#define _PATH_WALL "/@unixroot/rescue/wall"
143#endif /* RESCUE */
144
145#endif /* !_PATHS_H_ */
Note: See TracBrowser for help on using the repository browser.