#
#  Bootdisk_Contents for Slackware rescue disk
#  Tom Fawcett
#  July 1996
#
#  This is a Bootdisk_Contents for the Slackware
#  distribution, based on their supplied rescue disk.  With this file
#  you can tweak and rebuild it however you like.
#
#############################################################################
# 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.
#    This is useful for specifying trimmed-down replacements for
#    /etc/passwd, /etc/inittab, etc.  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.
#
#  You don't need to explicitly specify intermediate directories
#  unless you just want to make sure they exist.
#
#############################################################################

#   Empty directories
/mnt
/proc
/proc/self
/tmp
/var/adm/mount/
/var/spool/uucp

#   Extra-terrestrial links
/cdrom			-> /var/adm/mount
/var/adm/packages	-> /mnt/var/adm/packages
/var/adm/scripts	-> /mnt/var/adm/scripts
/usr/man		-> /root/usr/man

#   Utilities that need to go in fixed locations, usually because
#   they're invoked from rc or inittab.
/bin/swapoff <= swapoff
/bin/swapon <=  swapon
/bin/cut    <=  cut
/sbin/agetty
/etc/shutdown <= shutdown
#  Slackware rescue uses bdflush instead of update; I don't suppose it matters
/etc/update		<= update
/etc/ifconfig		<= ifconfig
/etc/route		<= route
#  The lightweight shell "ash" replaces both sh and bash.
/bin/bash -> sh
/bin/sh   -> ash

#   Utilities.
badblocks 
basename
cat
chmod
chown
comm
gzip
# compress -> gzip
cp
cut
dd
df
dirname
e2fsck
/bin/elvis	<= ./Replacements/bin/elvis    # Actually celvis
expr
fgrep
filesize
gzip
gunzip -> gzip
hostname
init
ipmask
ldconfig   # needed by Yard
lilo
ln
loadkeys
login
ls
mkdir
mknod
mount
mt
mv
ping
pwd
rdev
reboot
route
rm
rmdir
sed
shutdown
sort
sync
tar
touch
tr
umount
uname
uniq
vi -> elvis
zcat -> gzip

/dev/*

#  Files in /etc that are replaced with rescue versions:
#  Some of these can probably be taken from your /etc if your
#  system is reasonably well-configured, but I'll be cautious
#  and provide working defaults.
/etc/inet -> /etc
/etc/fastboot		<= /dev/null
/etc/fdisk		<= fdisk
/etc/inittab		<= ./Replacements/etc/inittab
/etc/issue		<= ./Replacements/etc/issue
/etc/rc			<= ./Replacements/etc/rc
/etc/rc.local		<= ./Replacements/etc/rc.local
/etc/termcap		<= ./Replacements/etc/termcap


#  These you can probably take off of your own setup, but I provide
#  reasonable defaults from the Slackware disk anyway.
/etc/brc		<= ./Replacements/etc/brc
/etc/group		<= ./Replacements/etc/group
/etc/host.conf		<= ./Replacements/etc/host.conf
/etc/passwd		<= ./Replacements/etc/passwd
/etc/profile		<= ./Replacements/etc/profile
/etc/protocols		<= ./Replacements/etc/protocols
/etc/securetty		<= ./Replacements/etc/securetty
/etc/rc.d/rc.inet1	<= ./Replacements/etc/rc.d/rc.inet1
/etc/rc.d/rc.inet2	<= ./Replacements/etc/rc.d/rc.inet2

#  /etc files taken from your setup
#  (don't bother with /etc/fstab; Yard will adapt yours)
/etc/hosts
/etc/services
/etc/shells

#  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

/root/.kermrc <= ./Replacements/root/.kermrc
/root/.less   <= ./Replacements/root/.less
/root/.lessrc <= ./Replacements/root/.lessrc

/usr/adm -> /var/adm

/usr/bin/zcat -> gzip
/usr/adm -> /var/adm
/usr/etc
/usr/lib
/usr/spool -> /var/spool

/var/adm/utmp     -> /etc/utmp

/var/spool/spool -> /var/spool
