#===================================================================== # $Id: distribution.conf,v 1.1.1.1 2005/08/11 12:58:42 cdave Exp $ # # Syntax of the config file: empty lines and lines beginning with # '#' are comments. 1st character of the other lines rules the # action: # # + add the file from the jail to minidir # @ recursively add the directory; if directory already # exists, add its content to the existing one # - remove the file from minidir (added by another distro.conf) # # Other characters serve as separators: # # : make a hardlink to the oritinal file # | make a softlink to the oritinal file # ! same as '|', but remove the file (,,softlink'') at first # #===================================================================== # create empty directory hierarchy +/dev +/home +/mnt +/proc +/root +/usr/lib/aout +/usr/local/bin +/usr/local/etc +/usr/local/etc/rc.d +/usr/local/lib +/usr/local/sbin +/var/conf # copy the whole /etc @/etc # definitely those are not needed -/etc/isdn -/etc/uucp -/etc/gnats -/etc/X11 # no IPv6 for now -/etc/rc.network6 -/etc/rc.firewall6 +/kernel.gz +/modules # (jp) 20050218; for creating memory disks on the fly # (jp) 20050218; not needed since using mount_mfs(8) intead of vn(4) #+sbin/disklabel +/sbin/mount_fdesc:sbin/mount_kernfs:sbin/mount_linprocfs:sbin/mount_procfs:sbin/mount_std +/usr/bin/chflags +/usr/bin/ldd +/usr/libexec/elf/strings +/usr/sbin/dev_mkdb +/usr/sbin/rndcontrol +/usr/sbin/vnconfig # /boot directory #+boot/boot0 #+boot/boot1 #+boot/boot2 #+boot/cdboot +/boot/defaults/loader.conf +/boot/loader +/boot/loader.4th +/boot/loader.help +/boot/loader.rc #+boot/mbr +/boot/support.4th # /bin directory +/bin/[|bin/test +/bin/cat +/bin/chmod +/bin/cp +/bin/date +/bin/dd +/bin/df +/bin/echo +/bin/expr +/bin/hostname +/bin/kill +/bin/link|bin/ln +/bin/ls +/bin/mkdir +/bin/mv +/bin/ps +/bin/pwd +/bin/realpath +/bin/rm|bin/unlink +/bin/rmdir +/bin/sh +/bin/sleep +/bin/stty +/bin/sync # /sbin directory +/sbin/adjkerntz # both must be present for dhclient to work +/sbin/dhclient +/sbin/dhclient-script +/sbin/dmesg +/sbin/fastboot|sbin/fasthalt|sbin/halt|sbin/reboot +/sbin/fsck +/sbin/ifconfig +/sbin/init +/sbin/ipfw +/sbin/ldconfig +/sbin/md5 +/sbin/mknod +/sbin/mount # don't need +/sbin/mount_cd9660 +/sbin/mount_mfs # (jp) 20050218; for creating memory disks on the fly # (jp) 20050218; not needed since using mount_mfs(8) intead of vn(4) #+sbin/newfs +/sbin/natd +/sbin/ping +/sbin/route +/sbin/shutdown +/sbin/sysctl +/sbin/umount # /usr/bin directory #+usr/bin/at|usr/bin/atq|usr/bin/atrm|usr/bin/batch # awk is needed in many system scripts, eg. periodic, rc.diskless etc. +/usr/bin/awk +/usr/bin/basename # let's use just gzip #+usr/bin/bunzip2|usr/bin/bzcat|usr/bin/bzip2 +/usr/bin/clear +/usr/bin/cmp # is needed in rc.diskless* in case that /dev is not writable which is # not our case #+usr/bin/cpio +/usr/bin/crontab +/usr/bin/cut +/usr/bin/diff +/usr/bin/dirname +/usr/bin/du +/usr/bin/egrep|usr/bin/grep +/usr/bin/env +/usr/bin/find +/usr/bin/fstat # I don't think we need to have ftp client #+usr/bin/ftp +/usr/bin/gzip|usr/bin/gzcat|usr/bin/gunzip|usr/bin/zcat #+usr/bin/gzexe +/usr/bin/head +/usr/bin/hexdump +/usr/bin/id|usr/bin/whoami +/usr/bin/jot # "kenv loaddev" says which boot device we booted from; useful for # /bin/wsh when deciding whether we can write the changes (on ISO we # cannot) +/usr/bin/kenv +/usr/bin/killall +/usr/bin/last +/usr/bin/less|usr/bin/more # we sometimes need to test that remote syslogging is working so that # we must be able to generate some syslog message +/usr/bin/logger +/usr/bin/login # no need to keep it, let's use gzip even when it's bigger #+usr/bin/minigzip +/usr/bin/mkfifo +/usr/bin/mktemp +/usr/bin/netstat +/usr/bin/nohup +/usr/bin/objformat # so far, no need to have it #+usr/bin/openssl +/usr/bin/passwd # WARNING: printenv is absolutely neccesary if apmgmt is to be run. We # use it for preprocessing of rc.conf before reading it. # (jp) use env instead #+usr/bin/printenv +/usr/bin/printf +/usr/bin/scp +/usr/bin/sed +/usr/bin/slogin|usr/bin/ssh # sockstat is a perl script #+usr/bin/sockstat +/usr/bin/sort +/usr/bin/ssh +/usr/bin/ssh-keygen +/usr/bin/strings +/usr/bin/su +/usr/bin/tail +/usr/bin/tar +/usr/bin/tee +/usr/bin/telnet +/usr/bin/tip +/usr/bin/top +/usr/bin/touch +/usr/bin/tr +/usr/bin/true|usr/bin/newaliases|usr/sbin/vidcontrol|sbin/swapon #+usr/bin/true|usr/bin/newaliases #+usr/sbin/vidcontrol #+sbin/swapon +/usr/bin/tty +/usr/bin/uname +/usr/bin/uniq +/usr/bin/uptime|usr/bin/w # vi is better than ViM for serial console editing, but it has more # that 200KB #+usr/bin/vi +/usr/bin/vmstat +/usr/bin/wall +/usr/bin/wc +/usr/bin/who #+usr/bin/whoami +/usr/bin/write +/usr/bin/xargs # /usr/lib directory #+usr/libexec/atrun +/usr/libexec/getty +/usr/libexec/ld-elf.so.1 #+usr/libexec/sftp-server # /usr/sbin +/usr/sbin/arp +/usr/sbin/boot0cfg +/usr/sbin/chown +/usr/sbin/cron # no need for real-time stuff so far #+usr/sbin/idprio|usr/sbin/rtprio +/usr/sbin/iostat +/usr/sbin/kbdcontrol +/usr/sbin/lastlogin +/usr/sbin/mtree +/usr/sbin/newsyslog # (jp) 24.9.2004 #+usr/sbin/ngctl #+usr/sbin/nghook +/usr/sbin/nslookup +/usr/sbin/ntpdate +/usr/sbin/pccardc +/usr/sbin/pccardd #+usr/sbin/pciconf #+usr/sbin/pwd_mkdb # this is IPSec stuff, no need for that so far #+usr/sbin/setkey +/usr/sbin/sshd +/usr/sbin/syslogd +/usr/sbin/tcpdump +/usr/sbin/traceroute #+usr/sbin/vipw #+usr/sbin/watch +/usr/sbin/wicontrol # various +/usr/share/misc/termcap