Ignore:
Timestamp:
Sep 15, 2004, 12:27:38 AM (21 years ago)
Author:
bird
Message:

@unixroot. header reviews. ++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/paths.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1505 r1506  
     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
    17/*
    28 * Copyright (c) 1989, 1993
     
    4147
    4248/* Default search path. */
    43 #define _PATH_DEFPATH   "/usr/bin:/bin"
     49#define _PATH_DEFPATH   "/@unixroot/usr/bin:/@unixroot/bin"
    4450/* All standard utilities path. */
    4551#define _PATH_STDPATH \
    46         "/usr/bin:/bin:/usr/sbin:/sbin:"
     52        "/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin:"
    4753/* Locate system binaries */
    4854#define _PATH_SYSPATH   \
    49         "/sbin:/usr/sbin"
     55        "/@unixroot/sbin:/@unixroot/usr/sbin"
    5056
    51 #define _PATH_AUTHCONF  "/etc/auth.conf"
    52 #define _PATH_BSHELL    "/bin/sh"
    53 #define _PATH_CAPABILITY        "/etc/capability"
    54 #define _PATH_CAPABILITY_DB     "/etc/capability.db"
    55 #define _PATH_CONSOLE   "/dev/console"
    56 #define _PATH_CP        "/bin/cp"
    57 #define _PATH_CSHELL    "/bin/csh"
    58 #define _PATH_DEFTAPE   "/dev/sa0"
    59 #define _PATH_DEVNULL   "/dev/null"
    60 #define _PATH_DEVZERO   "/dev/zero"
    61 #define _PATH_DRUM      "/dev/drum"
    62 #define _PATH_ETC       "/etc"
    63 #define _PATH_FTPUSERS  "/etc/ftpusers"
    64 #define _PATH_HALT      "/sbin/halt"
    65 #define _PATH_IFCONFIG  "/sbin/ifconfig"
    66 #define _PATH_KMEM      "/dev/kmem"
    67 #define _PATH_LIBMAP_CONF       "/etc/libmap.conf"
    68 #define _PATH_LOCALE    "/usr/share/locale"
    69 #define _PATH_LOGIN     "/usr/bin/login"
    70 #define _PATH_MAILDIR   "/var/mail"
    71 #define _PATH_MAN       "/usr/share/man"
    72 #define _PATH_MDCONFIG  "/sbin/mdconfig"
    73 #define _PATH_MEM       "/dev/mem"
    74 #define _PATH_MKSNAP_FFS        "/sbin/mksnap_ffs"
    75 #define _PATH_MOUNT     "/sbin/mount"
    76 #define _PATH_NEWFS     "/sbin/newfs"
    77 #define _PATH_NOLOGIN   "/var/run/nologin"
    78 #define _PATH_RCP       "/bin/rcp"
    79 #define _PATH_REBOOT    "/sbin/reboot"
    80 #define _PATH_RLOGIN    "/usr/bin/rlogin"
    81 #define _PATH_RM        "/bin/rm"
    82 #define _PATH_RSH       "/usr/bin/rsh"
    83 #define _PATH_SENDMAIL  "/usr/sbin/sendmail"
    84 #define _PATH_SHELLS    "/etc/shells"
    85 #define _PATH_TTY       "/dev/tty"
     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"
    8692#define _PATH_UNIX      "don't use _PATH_UNIX"
    87 #define _PATH_VI        "/usr/bin/vi"
    88 #define _PATH_WALL      "/usr/bin/wall"
     93#define _PATH_VI        "/@unixroot/usr/bin/vi"
     94#define _PATH_WALL      "/@unixroot/usr/bin/wall"
    8995
    9096/* Provide trailing slash, since mostly used for building pathnames. */
    91 #define _PATH_DEV       "/dev/"
    92 #define _PATH_TMP       "/tmp/"
    93 #define _PATH_VARDB     "/var/db/"
    94 #define _PATH_VARRUN    "/var/run/"
    95 #define _PATH_VARTMP    "/var/tmp/"
    96 #define _PATH_YP        "/var/yp/"
    97 #define _PATH_UUCPLOCK  "/var/spool/lock/"
     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/"
    98104
    99105/* How to get the correct name of the kernel. */
     
    104110#ifdef RESCUE
    105111#undef  _PATH_DEFPATH
    106 #define _PATH_DEFPATH   "/rescue:/usr/bin:/bin"
     112#define _PATH_DEFPATH   "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin"
    107113#undef  _PATH_STDPATH
    108 #define _PATH_STDPATH   "/rescue:/usr/bin:/bin:/usr/sbin:/sbin"
     114#define _PATH_STDPATH   "/@unixroot/rescue:/@unixroot/usr/bin:/@unixroot/bin:/@unixroot/usr/sbin:/@unixroot/sbin"
    109115#undef  _PATH_SYSPATH
    110 #define _PATH_SYSPATH   "/rescue:/sbin:/usr/sbin"
     116#define _PATH_SYSPATH   "/@unixroot/rescue:/@unixroot/sbin:/@unixroot/usr/sbin"
    111117#undef  _PATH_BSHELL
    112 #define _PATH_BSHELL    "/rescue/sh"
     118#define _PATH_BSHELL    "/@unixroot/rescue/sh"
    113119#undef  _PATH_CP
    114 #define _PATH_CP        "/rescue/cp"
     120#define _PATH_CP        "/@unixroot/rescue/cp"
    115121#undef  _PATH_CSHELL
    116 #define _PATH_CSHELL    "/rescue/csh"
     122#define _PATH_CSHELL    "/@unixroot/rescue/csh"
    117123#undef  _PATH_HALT
    118 #define _PATH_HALT      "/rescue/halt"
     124#define _PATH_HALT      "/@unixroot/rescue/halt"
    119125#undef  _PATH_IFCONFIG
    120 #define _PATH_IFCONFIG  "/rescue/ifconfig"
     126#define _PATH_IFCONFIG  "/@unixroot/rescue/ifconfig"
    121127#undef  _PATH_MDCONFIG
    122 #define _PATH_MDCONFIG  "/rescue/mdconfig"
     128#define _PATH_MDCONFIG  "/@unixroot/rescue/mdconfig"
    123129#undef  _PATH_MOUNT
    124 #define _PATH_MOUNT     "/rescue/mount"
     130#define _PATH_MOUNT     "/@unixroot/rescue/mount"
    125131#undef  _PATH_NEWFS
    126 #define _PATH_NEWFS     "/rescue/newfs"
     132#define _PATH_NEWFS     "/@unixroot/rescue/newfs"
    127133#undef  _PATH_RCP
    128 #define _PATH_RCP       "/rescue/rcp"
     134#define _PATH_RCP       "/@unixroot/rescue/rcp"
    129135#undef  _PATH_REBOOT
    130 #define _PATH_REBOOT    "/rescue/reboot"
     136#define _PATH_REBOOT    "/@unixroot/rescue/reboot"
    131137#undef  _PATH_RM
    132 #define _PATH_RM        "/rescue/rm"
     138#define _PATH_RM        "/@unixroot/rescue/rm"
    133139#undef  _PATH_VI
    134 #define _PATH_VI        "/rescue/vi"
     140#define _PATH_VI        "/@unixroot/rescue/vi"
    135141#undef  _PATH_WALL
    136 #define _PATH_WALL      "/rescue/wall"
     142#define _PATH_WALL      "/@unixroot/rescue/wall"
    137143#endif /* RESCUE */
    138144
Note: See TracChangeset for help on using the changeset viewer.