freebsd-skq/usr.sbin/crunch/examples/fixit.conf
kib 24ff491bf8 Remove badsect(8).
Failure modes of the modern (that is, produced in the last 25 years)
hard drives and SSDs made the utility outdated.  Since the kernel
interface to support it was removed in r324853, cut the userspace
remnants as well.

Discussed with:	bde (who does not like the removal)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2017-11-05 22:00:54 +00:00

47 lines
1.2 KiB
Plaintext

# fixit.conf - put in anything we think we might want on a fixit floppy
# $FreeBSD$
# first, we list the source dirs that our programs reside in. These are
# searched in order listed to find the dir containing each program.
srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi
srcdirs /usr/src/sbin/i386
# second, we list all the programs we want to include in our crunched binary.
# The order doesn't matter. Any program that needs hard links to it gets an
# `ln' directive.
# /bin stuff
progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
progs mt mv pwd rcp rm rmdir sh sleep stty sync test
ln test [
ln sh -sh # init invokes the shell this way
# /sbin stuff
progs chown clri disklabel dump dmesg fdisk fsck ifconfig init
progs mknod mount newfs ping reboot restore swapon umount
ln dump rdump
ln restore rrestore
# /usr/bin stuff
progs ftp rsh sed telnet rlogin common find
ln common vi
ln common view
ln common ex
# gnu stuff
progs cpio gzip
ln gzip gunzip
ln gzip gzcat
# finally, we specify the libraries to link in with our binary
libs -lcrypt -ltelnet -lutil -ll
libs -lcurses -ltermcap -ledit -lkvm