Subject: References to "vmunix"
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 07/31/1994 07:48:23
I did a: cd /usr/src; find . -type f -name "*.[ch1-8]" | grep -n vmunix

Here's the output from July 27th's complete source tree:

./bin/ps/ps.1:101:.Dq Pa /vmunix .
./bin/ps/ps.1:478:.Bl -tag -width /var/run/kvm_vmunix.db -compact
./bin/ps/ps.1:487:.It Pa /var/run/kvm_vmunix.db
./bin/ps/ps.1:489:.It Pa /vmunix
./gnu/usr.bin/gdb/gdb/infptrace.c:188:  if (nlist ("/vmunix", names) == 0)
./lib/libc/sys/reboot.2:66:.Dq Em xx Ns No (0,0)vmunix ,
./lib/libc/sys/reboot.2:127:rebooted from file ``vmunix'' in the root file system of unit 0
./lib/libkvm/kvm.c:229:		 * here so that we don't have to hold on to the vmunix
./lib/libkvm/kvm_nlist.3:74:.Bl -tag -width /var/db/kvm_vmunix.db -compact
./lib/libkvm/kvm_nlist.3:75:.It Pa /var/db/kvm_vmunix.db
./lib/libkvm/kvm_private.h:54:	int	nlfd;		/* namelist file (e.g., /vmunix) */
./libexec/rpc.rstatd/rstat_proc.c:141:	int n = nlist("/vmunix", nl);
./libexec/identd/paths.h:60:#  define _PATH_UNIX "/vmunix"
./sbin/dmesg/dmesg.8:55:``/vmunix''.
./sbin/reboot/reboot_sparc.8:133:The rom will normally load the kernel from "sd(0,0,0)vmunix". To change the
./sbin/routed/defs.h:80:int	performnlist;		/* if 1 check if /vmunix has changed */
./sbin/savecore/savecore.c:100:char	*vmunix;
./sbin/savecore/savecore.c:151:			vmunix = optarg;
./sbin/savecore/savecore.c:169:		vmunix = argv[1];
./sbin/savecore/savecore.c:222:	dump_sys = vmunix ? vmunix : _PATH_UNIX;
./sbin/savecore/savecore.c:254:	if (vmunix)
./sbin/savecore/savecore.c:276:	if (strcmp(vers, core_vers) && vmunix == 0)
./sbin/savecore/savecore.c:414:	ifd = Open(vmunix ? vmunix : _PATH_UNIX, O_RDONLY);
./sbin/savecore/savecore.c:435:			    "WARNING: vmunix may be incomplete");
./sbin/savecore/savecore.c:441:		    vmunix ? vmunix : _PATH_UNIX, strerror(errno));
./sbin/savecore/savecore.c:443:		    "WARNING: vmunix may be incomplete");
./sbin/savecore/savecore.c:533:	char *tvmunix;
./sbin/savecore/savecore.c:534:	off_t minfree, spacefree, vmunixsize, needed;
./sbin/savecore/savecore.c:539:	tvmunix = vmunix ? vmunix : _PATH_UNIX;
./sbin/savecore/savecore.c:540:	if (stat(tvmunix, &st) < 0) {
./sbin/savecore/savecore.c:541:		syslog(LOG_ERR, "%s: %m", tvmunix);
./sbin/savecore/savecore.c:544:	vmunixsize = st.st_blocks * S_BLKSIZE;
./sbin/savecore/savecore.c:562:	needed = (dumpsize + vmunixsize) / 1024;
./sys/arch/i386/netboot/main.c:314:  ".vmunix",
./sys/arch/i386/netboot/main.c:315:  ".vmunix.old",
./sys/arch/i386/stand/boot.c:64:		  "vmunix", "ovmunix", "vmunix.old",
./sys/arch/sparc/include/bsd_openprom.h:151:	char	*ba_kernel;		/* kernel to boot, e.g., "vmunix" */
./sys/arch/sparc/include/bsd_openprom.h:186:	char	**pv_bootstr;		/* Boot command, eg sd(0,0,0)vmunix */
./sys/arch/sparc/sparc/autoconf.c:163:	 * "vmunix -s" or whatever.
./sys/arch/sun3/include/mon.h:183:	int		(*reBoot)();		/* e.g. reBoot("xy()vmunix") */
./sys/arch/pmax/pmax/autoconf.c:312: * Boot names can be something like 'rz(0,0,0)vmunix' or '5/rz0/vmunix'.
./sys/arch/pmax/stand/libsa/devopen.c:62:	/* look for a string like '5/rz0/vmunix' or '5/rz3f/vmunix */
./sys/arch/pmax/stand/libsa/devopen.c:90:		/* expect a string like 'rz(0,0,0)vmunix' */
./sys/arch/pmax/stand/boot.c:50: * Argv[0] should be something like "rz(0,0,0)vmunix" on a DECstation 3100.
./sys/arch/pmax/stand/boot.c:51: * Argv[0,1] should be something like "boot 5/rz0/vmunix" on a DECstation 5000.
./sys/arch/pmax/stand/boot.c:52: * The argument "-a" means vmunix should do an automatic reboot.
./sys/arch/pmax/stand/mkboottape.c:67: * usage: mkboottape [-b] tapedev vmunix minirootdev size
./sys/arch/pmax/stand/mkboottape.c:236:	    "usage: %s [-b] tapedev vmunix minirootdev size\n", __progname);
./sys/nfs/swapnfs.c:38: *	@(#)nfsswapvmunix.c	7.1 (Berkeley) 3/4/91
./sys/sys/systm.h:65: * zero as that would allow the vmunix binary to be patched to -1.
./sys/lib/libnetboot/exec.c:57:    "vmunix", "ovmunix", "vmunix.old", NULL
./usr.bin/fstat/fstat.1:76:.Pa /vmunix .
./usr.bin/netstat/netstat.1:149:.Pa /vmunix .
./usr.bin/netstat/netstat.1:284:.\" .It Pa /vmunix
./usr.bin/nfsstat/nfsstat.1:62:.Pa /vmunix .
./usr.bin/nfsstat/nfsstat.1:72:.It Pa /vmunix
./usr.bin/w/uptime.1:50:.Bl -tag -width /vmunix
./usr.bin/w/uptime.1:51:.It Pa /vmunix
./usr.bin/w/w.1:75:.Dq /vmunix .
./usr.sbin/sendmail/src/conf.c:656:#  define _PATH_UNIX	"/vmunix"
./usr.sbin/config.new/config.h:67:	const char *cf_name;		/* "vmunix" */

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------