Note that fcntl(2) returns EINVAL for invalid command.
[netbsd-mini2440.git] / usr.bin / crunch / examples / fixit.conf
blob1e5e786c5dbb52301be41c88a982b637a6992ca3
1 #       $NetBSD$
3 # fixit.conf - put in anything we think we might want on a fixit floppy
5 # first, we list the source dirs that our programs reside in.  These are
6 # searched in order listed to find the dir containing each program.
8 srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
9 srcdirs /usr/src/gnu/usr.bin
11 # second, we list all the programs we want to include in our crunched binary.
12 # The order doesn't matter.  Any program that needs hard links to it gets an
13 # `ln' directive.  
15 # /bin stuff
17 progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
18 progs mt mv pwd rcp rm rmdir sh sleep stty sync test
20 ln test [
21 ln sh -sh               # init invokes the shell this way
22 ln sh -
24 # /sbin stuff
26 progs badsect chown clri disklabel dump dmesg fdisk fsck halt ifconfig init
27 progs mknod mount newfs ping reboot restore swapon umount
28 ln dump rdump
29 ln restore rrestore
31 # /usr/bin stuff
33 progs ftp rsh sed telnet rlogin vi
35 # gnu stuff
37 progs cpio gzip
38 ln gzip gunzip
39 ln gzip gzcat
41 # finally, we specify the libraries to link in with our binary
43 libs -ledit             # NetBSDism
44 libs -lcrypt            # but don't include this when exporting :-(
45 libs -lcurses -ltermcap
46 libs -lkvm -ltelnet -lutil -ll