# -*- Mode: Fundamental -*- # # This is a pared-down Bootdisk_Contents file for use with Yard. # You can certainly boot with fewer files than this, but you # probably wouldn't want to. With these you can at least # do some basic disk maintenance. # # Format rules: # - Lines beginning with # or % are comments. # # - Blank lines and whitespace may be used freely. # # - Filenames may be either relative or absolute. # # - Lines of the form "filename1 -> filename2" will create # links on the boot disk. Eg, if you want sh linked to bash # on the bootdisk, you can specify: "/bin/sh -> /bin/bash" # # - Lines of the form "filename1 <= filename2" # will cause filename2 (relative to the current working directory) # to be copied to filename1 on the boot disk. This is useful for # specifying trimmed-down replacements for /etc/passwd, /etc/inittab, etc. # # - Wildcards (? and *) are generally allowed, eg /dev/* # Wildcards are not allowed in link specs or replacement specs. # # You don't need to specify shared libraries or ld.so*. The # script will detect dependencies (via ldd) and include them # automatically. # # You don't need to explicitly specify intermediate directories # unless you just want them to exist. # # Specify these absolutely because boot scripts need them to be here. /bin/cat /bin/hostname /bin/ln /bin/login /bin/ls /bin/more /bin/mount /bin/mv /bin/sleep /bin/su /bin/umount # Use ash or some suitably minimal shell /bin/sh -> bash /bin/tcsh /sbin/halt /sbin/init /sbin/ldconfig /sbin/reboot /sbin/shutdown /sbin/getty /sbin/ifconfig /sbin/route # Devices /dev/mem /dev/kmem /dev/null /dev/zero /dev/ram0 /dev/console /dev/tty[0-1] /dev/fd0 /dev/cua0 /dev/cua1 # Networking daemons /usr/sbin/syslogd /usr/sbin/klogd /usr/sbin/portmap /usr/sbin/inetd /usr/sbin/rpc.mountd /usr/sbin/rpc.nfsd # Files in etc: /etc/group /etc/host.conf /etc/protocols /etc/services # These get replaced with their pared-down versions # in the Replacements subdirectory. /etc/fstab <= Replacements/etc/fstab /etc/inittab <= Replacements/etc/inittab /etc/motd <= Replacements/etc/bootdisk_motd /etc/issue <= Replacements/etc/issue /etc/passwd <= Replacements/etc/passwd /etc/shells <= Replacements/etc/shells /etc/profile <= Replacements/etc/profile /etc/inetd.conf <= Replacements/etc/inetd.conf /etc/resolv.conf<= Replacements/etc/resolv.conf /etc/hosts <= Replacements/etc/hosts /etc/rc <= Replacements/etc/rc.bootp /etc/termcap <= Replacements/etc/termcap /etc/ttytype <= Replacements/etc/ttytype /etc/gettydefs <= Replacements/etc/gettydefs /etc/nsswitch.conf <= Replacements/etc/nsswitch.conf /etc/pam.d/other<= Replacements/etc/pam.d/other /lib/libnss_files-2.0.7.so /lib/libnss_files.so.1 -> /lib/libnss_files-2.0.7.so /lib/libnss_db-2.0.7.so /lib/libnss_db.so.1 -> /lib/libnss_db-2.0.7.so /lib/libnss_dns-2.0.7.so /lib/libnss_dns.so.1 -> libnss_dns-2.0.7.so /lib/security/pam_permit.so # Initialize utmp and wtmp. Set up links for any old-style programs # that expect them in /etc. /etc/utmp -> /var/run/utmp /var/run/utmp <= /dev/null # This clears utmp /etc/wtmp -> /var/log/wtmp /var/log/wtmp <= /dev/null # Directories with nothing otherwise in them: /mnt /proc /tmp /root # PVM slave executables /home/pvm/pvm3/bin/LINUX/wd_slave /home/pvm/pvm3/bin/LINUX/flops_slave /home/pvm/pvm3/bin/LINUX/ff_slave # Utilities. The script will figure out their locations. bootpc chmod cp date dmesg egrep grep id in.rshd mkdir pwd rm sed stty sync tcpd touch uname whoami ##### End of Bootdisk_Contents