We don't use this anymore - nuke it.
This commit is contained in:
parent
f847f7558c
commit
23aac4b3bb
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.471 1999/02/10 09:15:27 jkh Exp $
|
# $Id: Makefile,v 1.472 1999/02/14 13:56:14 des Exp $
|
||||||
#
|
#
|
||||||
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
|
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
|
||||||
#
|
#
|
||||||
@ -420,7 +420,7 @@ release.7:
|
|||||||
# +-----------------------------------------+
|
# +-----------------------------------------+
|
||||||
#
|
#
|
||||||
|
|
||||||
release.8: write_mfs_in_kernel dumpnlist
|
release.8: write_mfs_in_kernel
|
||||||
rm -rf ${RD}/mfsfd
|
rm -rf ${RD}/mfsfd
|
||||||
mkdir ${RD}/mfsfd
|
mkdir ${RD}/mfsfd
|
||||||
cd ${RD}/mfsfd && \
|
cd ${RD}/mfsfd && \
|
||||||
@ -599,10 +599,6 @@ fixit.flp:
|
|||||||
write_mfs_in_kernel: ${.CURDIR}/write_mfs_in_kernel.c
|
write_mfs_in_kernel: ${.CURDIR}/write_mfs_in_kernel.c
|
||||||
${CC} ${CFLAGS} -o write_mfs_in_kernel ${.CURDIR}/write_mfs_in_kernel.c
|
${CC} ${CFLAGS} -o write_mfs_in_kernel ${.CURDIR}/write_mfs_in_kernel.c
|
||||||
|
|
||||||
# Add -DDO_SCSI to CFLAGS to enable scsi frobbing support.
|
|
||||||
dumpnlist: ${.CURDIR}/dumpnlist.c
|
|
||||||
${CC} ${CFLAGS} -o dumpnlist ${.CURDIR}/dumpnlist.c
|
|
||||||
|
|
||||||
installCRUNCH:
|
installCRUNCH:
|
||||||
.if !defined(CRUNCH)
|
.if !defined(CRUNCH)
|
||||||
@echo "CRUNCH undefined in installCRUNCH" && exit 1
|
@echo "CRUNCH undefined in installCRUNCH" && exit 1
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
#include <sys/types.h>
|
|
||||||
#include <sys/fcntl.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <nlist.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
struct nlist nl[] = {
|
|
||||||
{"_isa_devtab_bio"},
|
|
||||||
{"_isa_devtab_cam"},
|
|
||||||
{"_isa_devtab_tty"},
|
|
||||||
{"_isa_devtab_net"},
|
|
||||||
{"_isa_devtab_null"},
|
|
||||||
{"_isa_biotab_wdc"},
|
|
||||||
{"_isa_biotab_fdc"},
|
|
||||||
{"_eisadriver_set"},
|
|
||||||
{"_eisa_dev_list"},
|
|
||||||
{"_pcidevice_set"},
|
|
||||||
{"_device_list"},
|
|
||||||
#ifdef DO_SCSI
|
|
||||||
{"_scbusses"},
|
|
||||||
{"_scsi_cinit"},
|
|
||||||
{"_scsi_dinit"},
|
|
||||||
{"_scsi_tinit"},
|
|
||||||
#endif
|
|
||||||
{""},
|
|
||||||
};
|
|
||||||
|
|
||||||
int
|
|
||||||
main(int ac, char **av)
|
|
||||||
{
|
|
||||||
int i, len;
|
|
||||||
|
|
||||||
i = nlist(av[1], nl);
|
|
||||||
if (i == -1) {
|
|
||||||
fprintf(stderr, "nlist returns error for %s\n", av[1]);
|
|
||||||
perror("nlist");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
len = (sizeof(nl) / sizeof(struct nlist)) - 1;
|
|
||||||
printf("%d\n", len);
|
|
||||||
for (i = 0; i < len; i++) {
|
|
||||||
printf("%s\n", nl[i].n_name);
|
|
||||||
printf("%d %d %d %ld\n",
|
|
||||||
nl[i].n_type, nl[i].n_other, nl[i].n_desc, nl[i].n_value);
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user