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

Last change on this file since 1614 was 1559, checked in by bird, 21 years ago

some /dev's

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