bsd->netbsd
This commit is contained in:
parent
c8652b6e00
commit
b740fbac92
2
etc/rc
2
etc/rc
|
@ -98,7 +98,7 @@ fi
|
|||
|
||||
# build ps databases
|
||||
echo 'building databases...'
|
||||
kvm_mkdb /bsd
|
||||
kvm_mkdb /netbsd
|
||||
dev_mkdb
|
||||
|
||||
chmod 666 /dev/tty[pqrs]*
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#define _PATH_NOLOGIN "/etc/nologin"
|
||||
#define _PATH_SENDMAIL "/usr/sbin/sendmail"
|
||||
#define _PATH_TTY "/dev/tty"
|
||||
#define _PATH_UNIX "/bsd"
|
||||
#define _PATH_UNIX "/netbsd"
|
||||
#define _PATH_VI "/usr/bin/vi"
|
||||
|
||||
/* Provide trailing slash, since mostly used for building pathnames. */
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
.\"
|
||||
.\" @(#)savecore.8 6.6 (Berkeley) 3/16/91
|
||||
.\"
|
||||
.\" $Header: /cvsroot/src/sbin/savecore/savecore.8,v 1.4 1993/04/28 05:43:16 cgd Exp $
|
||||
.\" $Header: /cvsroot/src/sbin/savecore/savecore.8,v 1.5 1993/04/28 06:40:21 cgd Exp $
|
||||
.\"
|
||||
.Dd March 16, 1991
|
||||
.Dt SAVECORE 8
|
||||
|
@ -67,7 +67,7 @@ Operands supported by
|
|||
The directory name where the core dump will be written.
|
||||
.It Ar system
|
||||
If the core dump was from a system other than
|
||||
.Pa /bsd ,
|
||||
.Pa /netbsd ,
|
||||
the name
|
||||
of that system must be supplied as
|
||||
.Ar system .
|
||||
|
@ -105,8 +105,8 @@ If the system crashed as a result of a panic,
|
|||
.Nm savecore
|
||||
logs the panic string too.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /bsd -compact
|
||||
.It Pa /bsd
|
||||
.Bl -tag -width /netbsd -compact
|
||||
.It Pa /netbsd
|
||||
current
|
||||
.Tn system executable file
|
||||
.El
|
||||
|
|
|
@ -29,7 +29,10 @@
|
|||
/*
|
||||
* HISTORY
|
||||
* $Log: boot.c,v $
|
||||
* Revision 1.2 1993/04/28 05:32:55 cgd
|
||||
* Revision 1.3 1993/04/28 06:37:58 cgd
|
||||
* bsd->netbsd
|
||||
*
|
||||
* Revision 1.2 1993/04/28 05:32:55 cgd
|
||||
* new kernel name is "bsd" also, add "o*" to list of kernels to boot.
|
||||
*
|
||||
* Revision 1.1 1993/03/21 18:08:26 cgd
|
||||
|
@ -79,7 +82,7 @@ struct exec head;
|
|||
int argv[10], esym;
|
||||
char *name;
|
||||
char *names[] = {
|
||||
"/bsd", "/obsd", "/bsd.old",
|
||||
"/netbsd", "/onetbsd", "/netbsd.old",
|
||||
"/386bsd", "/o386bsd", "/386bsd.old",
|
||||
"/vmunix", "/ovmunix", "/vmunix.old"
|
||||
};
|
||||
|
@ -90,7 +93,7 @@ boot(drive)
|
|||
int drive;
|
||||
{
|
||||
int loadflags, currname = 0;
|
||||
printf("\n>> 386bsd BOOT @ 0x%x: %d/%d k of memory [20/9/92]\n",
|
||||
printf("\n>> NetBSD BOOT @ 0x%x: %d/%d k of memory [27/4/93]\n",
|
||||
ouraddr,
|
||||
argv[7] = memsize(0),
|
||||
argv[8] = memsize(1));
|
||||
|
|
|
@ -29,7 +29,10 @@
|
|||
/*
|
||||
* HISTORY
|
||||
* $Log: version.c,v $
|
||||
* Revision 1.2 1993/04/28 05:32:55 cgd
|
||||
* Revision 1.3 1993/04/28 06:37:58 cgd
|
||||
* bsd->netbsd
|
||||
*
|
||||
* Revision 1.2 1993/04/28 05:32:55 cgd
|
||||
* new kernel name is "bsd" also, add "o*" to list of kernels to boot.
|
||||
*
|
||||
* Revision 1.1 1993/03/21 18:08:26 cgd
|
||||
|
@ -79,7 +82,7 @@ struct exec head;
|
|||
int argv[10], esym;
|
||||
char *name;
|
||||
char *names[] = {
|
||||
"/bsd", "/obsd", "/bsd.old",
|
||||
"/netbsd", "/onetbsd", "/netbsd.old",
|
||||
"/386bsd", "/o386bsd", "/386bsd.old",
|
||||
"/vmunix", "/ovmunix", "/vmunix.old"
|
||||
};
|
||||
|
@ -90,7 +93,7 @@ boot(drive)
|
|||
int drive;
|
||||
{
|
||||
int loadflags, currname = 0;
|
||||
printf("\n>> 386bsd BOOT @ 0x%x: %d/%d k of memory [20/9/92]\n",
|
||||
printf("\n>> NetBSD BOOT @ 0x%x: %d/%d k of memory [27/4/93]\n",
|
||||
ouraddr,
|
||||
argv[7] = memsize(0),
|
||||
argv[8] = memsize(1));
|
||||
|
|
|
@ -12,7 +12,7 @@ options "TCP_COMPAT_42"
|
|||
options SCSI
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -12,7 +12,7 @@ options "TCP_COMPAT_42"
|
|||
options SCSI
|
||||
options DDB
|
||||
|
||||
config bsd root on sd0 swap on sd0
|
||||
config netbsd root on sd0 swap on sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -27,7 +27,7 @@ options SCSI
|
|||
options "COMPAT_43"
|
||||
options "TCP_COMPAT_42"
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
#buses
|
||||
controller isa0
|
||||
|
|
|
@ -12,7 +12,7 @@ options KERNFS,FDESC,PCFS
|
|||
options KTRACE
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0
|
||||
config netbsd root on wd0 swap on wd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -12,7 +12,7 @@ options "TCP_COMPAT_42"
|
|||
options SCSI
|
||||
options DDB
|
||||
|
||||
config bsd root on sd0 swap on sd0
|
||||
config netbsd root on sd0 swap on sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options "i387"
|
|||
options XSERVER,UCONSOLE
|
||||
options KERNFS,FDESC
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wd0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options INET,DDB
|
|||
options "COMPAT_43"
|
||||
options "TCP_COMPAT_42"
|
||||
|
||||
config bsd root on dk0 swap on dk0
|
||||
config netbsd root on dk0 swap on dk0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -13,7 +13,7 @@ options "TCP_COMPAT_42"
|
|||
options XSERVER,UCONSOLE
|
||||
options PCFS,KERNFS
|
||||
|
||||
config bsd root on wd0 swap on wd0
|
||||
config netbsd root on wd0 swap on wd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -11,7 +11,7 @@ options XSERVER,UCONSOLE
|
|||
options KERNFS,FDESC
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -14,7 +14,7 @@ options XSERVER,UCONSOLE
|
|||
options PCFS,KERNFS
|
||||
options SCSI
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -14,7 +14,7 @@ options XSERVER,UCONSOLE
|
|||
options PCFS,KERNFS
|
||||
options SCSI
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -14,7 +14,7 @@ options XSERVER,UCONSOLE
|
|||
options PCFS,KERNFS
|
||||
options SCSI
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -14,7 +14,7 @@ options XSERVER,UCONSOLE
|
|||
options PCFS,KERNFS
|
||||
options SCSI
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options "i387"
|
|||
options XSERVER,UCONSOLE
|
||||
options KTRACE
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options INET,NFSSERVER,NFSCLIENT,MFS,HSFS,DIAGNOSTIC # OSI real soon
|
|||
options "COMPAT_43","TCP_COMPAT_42"
|
||||
options DDB
|
||||
|
||||
config bsd root on dk0 swap on dk0
|
||||
config netbsd root on dk0 swap on dk0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -63,7 +63,7 @@ PROFILE_C= ${CC} -S -c ${CFLAGS} $< ; \
|
|||
%LOAD
|
||||
|
||||
clean:
|
||||
rm -f eddep *bsd tags *.o locore.i [a-uw-z]*.s \
|
||||
rm -f eddep *netbsd tags *.o locore.i [a-uw-z]*.s \
|
||||
errs linterrs makelinks
|
||||
|
||||
lint: /tmp param.c
|
||||
|
|
|
@ -16,7 +16,7 @@ options DIAGNOSTIC
|
|||
options KGDB
|
||||
options "KGDBDEV=0x800"
|
||||
|
||||
config bsd root on dk0 swap on dk0
|
||||
config netbsd root on dk0 swap on dk0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -16,7 +16,7 @@ options "TCP_COMPAT_42"
|
|||
options DIAGNOSTIC
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options "i387"
|
|||
options XSERVER,UCONSOLE
|
||||
options KERNFS,FDESC
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wd0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -10,7 +10,7 @@ options INET
|
|||
options "COMPAT_43"
|
||||
options "TCP_COMPAT_42"
|
||||
|
||||
config bsd root on dk0 swap on dk0
|
||||
config netbsd root on dk0 swap on dk0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -11,7 +11,7 @@ options "COMPAT_43"
|
|||
options "TCP_COMPAT_42"
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0 and as0
|
||||
config netbsd root on wd0 swap on wd0 and as0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -15,7 +15,7 @@ options FDESC,KERNFS
|
|||
options KTRACE
|
||||
options SCSI
|
||||
|
||||
config bsd root on sd0 swap on sd0
|
||||
config netbsd root on sd0 swap on sd0
|
||||
|
||||
controller isa0
|
||||
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
|
||||
|
|
|
@ -12,7 +12,7 @@ options "TCP_COMPAT_42"
|
|||
options SCSI,ISOFS
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0
|
||||
config netbsd root on wd0 swap on wd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -16,7 +16,7 @@ options PCFS,KERNFS
|
|||
options SCSI
|
||||
options DDB
|
||||
|
||||
config bsd root on sd0 swap on sd0
|
||||
config netbsd root on sd0 swap on sd0
|
||||
|
||||
controller isa0
|
||||
controller aha0 at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
|
||||
|
|
|
@ -12,7 +12,7 @@ options "TCP_COMPAT_42"
|
|||
options SCSI
|
||||
options DDB
|
||||
|
||||
config bsd root on wd0 swap on wd0 and sd0
|
||||
config netbsd root on wd0 swap on wd0 and sd0
|
||||
|
||||
controller isa0
|
||||
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
|
||||
|
|
|
@ -58,7 +58,7 @@ static char sccsid[] = "from:@(#)boot.c 7.3 (Berkeley) 5/4/91";
|
|||
* or if an error is encounter, try alternate files.
|
||||
*/
|
||||
|
||||
char *files[] = { "bsd", "obsd", "bsd.old",
|
||||
char *files[] = { "netbsd", "onetbsd", "netbsd.old",
|
||||
"386bsd", "o386bsd", "386bsd.old",
|
||||
"vmunix", "ovmunix", "vmunix.old",
|
||||
"boot", 0};
|
||||
|
|
Loading…
Reference in New Issue