#
#  Bootdisk_Contents
#  Tom Fawcett (fawcett@nynexst.com)
#  July 1996
#
#  This is a Bootdisk_Contents file for Yard that creates a rescue
#  disk similar to that provided in the Picasso (3.0.3) Redhat
#  distribution.  The point of providing this file is that using this
#  file with Yard you can essentially tweak the contents of the Redhat
#  rescue disk to your liking.  As it is, these files plus kernel all
#  fit on one 1440K floppy.
#
#  - The RedHat CDROM is mounted under /image so that various files
#    on the rescue disk can access the live image via symbolic links.
#
#  - I have omitted perl and its support files under /usr/lib/perl5.
#    I could see no need for it, and Donnie Barnes agreed that there
#    probably wasn't one.
#
#  - The Redhat rescue disk used ash (60K) instead of bash (300K).
#
#############################################################################
# Format rules:
#  - Lines beginning with # or % are comments.
#
#  - Blank lines and whitespace may be used freely.
#
#  - Filenames may be either relative or absolute. 
#    Any filename not beginning with a slash is relative and
#    will be searched for in PATH.
#
#  - Lines of the form "filename1 -> filename2" will create symbolic (soft)
#    links on the root fs.
#
#  - Lines of the form "filename1 <= filename2"
#    will cause filename2 to be copied to filename1 on the boot disk.
#    filename2 will be found first by searching PATH, then by
#    searching relative to the current directory.
#
#  - Glob designations (?, * and []) are generally allowed, eg /dev/hd[ab]*
#    Wildcards are not allowed in link specs or replacement specs.
#
#  - You may refer to environment variables in these specs by using
#    a dollar sign.  $RELEASE will be set the the release string of
#    $kernel.
#
#############################################################################

#  Empty directories
/floppy
/proc
/root
/tmp
/var
/var/tmp

#  The link /OLDROOT/cdrom should be whatever your CDROM mount
#  point is.
/image -> /OLDROOT/cdrom

/dev/*

/etc/X11 -> /image/RedHat/instimage/etc/X11/fvwm

#  /etc files taken from your setup
/etc/adjtime
/etc/gettydefs
/etc/host.conf
/etc/hosts
#  NB.  This lilo.conf is for your setup, not the one that will be used
#  for the kernel fs.
/etc/lilo.conf
/etc/nsswitch.conf
/etc/pcmcia/*
/etc/protocols
/etc/resolv.conf
/etc/services
/etc/sysconfig/*
/etc/sysconfig/pcmcia-scripts/config -> /etc/pcmcia/config
/etc/syslog.conf

#  Files in /etc replaced with rescue versions.
/etc/fstab		<= ./Replacements/etc/fstab	#  generated by yard
/etc/inittab		<= ./Replacements/etc/inittab
/etc/issue		<= ./Replacements/etc/issue
/etc/passwd		<= ./Replacements/etc/passwd
/etc/group		<= ./Replacements/etc/group
/etc/termcap		<= ./Replacements/etc/termcap

#  SYSVinit file structure.  Probably don't need all these, but they're small.
/etc/rc.d/rc
/etc/rc.d/rc.local
/etc/rc.d/rc.sysinit
/etc/rc.d/rc?.d/*
/etc/rc.d/init.d/functions

#  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 on the floppy
/etc/wtmp     -> /var/log/wtmp
/var/log/wtmp <= /dev/null

#  MODULES and support programs for them.
depmod
insmod
lsmod
modprobe
rmmod
/lib/modules/$RELEASE/*/*.o
/etc/modules.conf
/sbin/kerneld

/sbin/getty
/sbin/hdparm
/sbin/mke2fs
/sbin/mkswap
/sbin/reboot
/sbin/runlevel
/sbin/setterm	<= setterm
/sbin/shutdown
/sbin/swapon
/sbin/swapoff
/sbin/sync	<= sync
/sbin/update

/bin/ash  <= ash
/bin/bash -> ash
/bin/sh   -> ash
/bin/less <= less
/bin/more -> less
/bin/login

cat
chmod
chown
clock
cp
cpio
date
df
e2fsck
fdisk
fsck
gunzip
grep
gzip
halt
hostname
init
kill
klogd
ldconfig	# Needed by Yard
lilo
ln
ls
mkdir
mke2fs
mkswap
mount
ps
pwd
rm
reboot
shutdown
syslogd
umount
uname

#  rpm and necessities
rpm
/etc/rpmrc

/lib/cpp

/usr/X11		-> /usr/X11R6
/usr/X386		-> /usr/X11R6
/usr/X11R6		-> /image/RedHat/instimage/usr/X11R6
/usr/lib/X11		-> /image/RedHat/instimage/usr/lib/X11
/usr/lib/libtcl7.4.so.1 -> /image/RedHat/instimage/usr/lib/libtcl7.4.so.1
/usr/lib/libtk4.0.so.1	-> /image/RedHat/instimage/usr/lib/libtk4.0.so.1
/usr/lib/python		-> /image/RedHat/instimage/usr/lib/python
/usr/lib/tcl7.4		-> /image/RedHat/instimage/usr/lib/tcl7.4
/usr/lib/tk4.0		-> /image/RedHat/instimage/usr/lib/tk4.0
/usr/lib/tk7.4		-> /image/RedHat/instimage/usr/lib/tk7.4

/usr/lib/terminfo/c/con*
/usr/lib/terminfo/l/linux*

