2194bc0310
. changed umount() and mount() to call 'service', so that it can include a custom label, so that umount() works again (RS slot gets freed now). merged umount() and mount() into one file to encode keep this label knowledge in one file. . removed obsolete RS_PID field and RS_RESCUE rescue command . added label to RS_START struct . vfs no longer does kill of fs process on unmount (which was failing due to RS_PID request not working) . don't assume that if error wasn't one of three errors, that no error occured in vfs/request.c mfs changes: . added checks to copy statements to truncate copies at buffer sizes (left in debug code for now) . added checks for null-terminatedness, if less than NAME_MAX was copied . added checks for copy function success is changes: . dump rs label drivers.conf changes: . added acl for mfs so that mfs can be started with 'service start', so that a custom label can be provided
23 lines
629 B
C
23 lines
629 B
C
#ifndef _MINIX_PATHS_H
|
|
#define _MINIX_PATHS_H 1
|
|
|
|
#define _PATH_DHCPCONF "/etc/dhcp.conf"
|
|
#define _PATH_DHCPPID "/usr/run/dhcpd.pid"
|
|
#define _PATH_DHCPCACHE "/usr/adm/dhcp.cache"
|
|
#define _PATH_DHCPPOOL "/usr/adm/dhcp.pool"
|
|
|
|
#define _PATH_WTMP "/usr/adm/wtmp"
|
|
#define _PATH_UTMP "/etc/utmp"
|
|
#define _PATH_LASTLOG "/usr/adm/lastlog"
|
|
#define _PATH_MOTD "/etc/motd"
|
|
#define _PATH_HOSTS "/etc/hosts"
|
|
|
|
#define _PATH_DEFTAPE "/dev/sa0"
|
|
#define _PATH_RAMDISK "/dev/ram"
|
|
#define _PATH_TMP "/tmp"
|
|
|
|
#define _PATH_BSHELL "/bin/sh"
|
|
#define _PATH_SERVICE "/bin/service"
|
|
#define _PATH_DRIVERS_CONF "/etc/drivers.conf"
|
|
|
|
#endif
|