# -*- Mode: Fundamental -*- # # This is a basic Bootdisk_Contents, for use with Yard. # YOU MUST CUSTOMIZE THIS FILE BY HAND. # # $Id: Bootdisk_Contents.in,v 1.3 1998/11/16 03:32:28 fawcett Exp $ # This script created automatically from Bootdisk_Contents.in # # Tom Fawcett # May 1996 # # ############################################################################# # # Format rules: # - Lines beginning with # or % are comments. # # - Blank lines and whitespace are ignored. # # - Filenames may be either relative or absolute. Any filename not # beginning with a slash is relative and will be resolved relative to the # configuration directory (/etc/yard). # # - Lines of the form "filename1 -> filename2" will create symbolic (soft) # links on the root fs. For example, if you want sh linked to bash # in the root fs you specify: "/bin/sh -> /bin/bash" # (There is no way to specify hardlinks, though hard linked files # that exist on the hard disk will be hard linked on the bootdisk.) # # - 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 configuration 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 to the release string of $kernel, # eg 2.2.13 or 2.2.15-6mdk. # # You don't need to specify shared libraries or loaders. make_root_fs # will detect necessary libraries and include them automatically. The # exceptions are NSS and PAM libraries, which are dynamically loaded and # can't really be predicted. Yard doesn't automatically include these # libraries (it doesn't know what you want to do), but it will check your # choices and warn you if something isn't provided for. # # You don't need to explicitly specify intermediate directories unless you # just want to make sure they exist. # ############################################################################## # Specify these binaries absolutely because boot scripts need them to be here. /bin/cat -> /bin/busybox /bin/false -> /bin/busybox /bin/hostname -> /bin/busybox /bin/ln -> /bin/busybox #/bin/login /bin/ls -> /bin/busybox /bin/more -> /bin/busybox /bin/mount -> /bin/busybox /bin/mv -> /bin/busybox #/bin/su /bin/true -> /bin/busybox /bin/umount -> /bin/busybox #/bin/loadkeys ##### THE DEFAULT SHELL # Bash is huge and requires libncurses.so. # Most people use a smaller lightweight shell, like ash or kiss, # and use that instead. #/bin/sh -> bash #/bin/csh -> tcsh /bin/sh -> /bin/busybox /sbin/init -> /bin/busybox #/sbin/ldconfig # no longer necessary /sbin/reboot -> /bin/busybox /sbin/shutdown /sbin/swapoff -> /bin/busybox /sbin/swapon -> /bin/busybox #/sbin/telinit /sbin/update -> /bin/busybox ##### FILES IN /etc, TAKEN FROM YOUR SETUP # # The advantage of using your existing /etc/passwd file is that is has # all the correct UIDs and GIDs, which may be useful when restoring # files from tape. On the other hand, using a trimmed-down passwd # allows you to use a trimmed-down shell, and avoids errors # from check_root_fs about home directories and shells not existing. # /etc/group <= Replacements/etc/group #/etc/issue /etc/profile <= Replacements/etc/profile /etc/shells <= Replacements/etc/shells /etc/hostname <= Replacements/etc/hostname /etc/login.defs <= Replacements/etc/login.defs # These get replaced with their pared-down versions # in the Replacements subdirectory. /etc/passwd <= ./Replacements/etc/passwd /etc/fstab <= ./Replacements/etc/fstab /etc/motd <= ./Replacements/etc/bootdisk_motd /etc/rc <= ./Replacements/etc/rc /etc/hosts <= Replacements/etc/hosts /etc/init.d/rcS -> /etc/rc /etc/ttytype <= ./Replacements/etc/ttytype /etc/gettydefs <= ./Replacements/etc/gettydefs /etc/termcap <= ./Replacements/etc/termcap # PROVISIONS FOR PAM: /etc/pam.conf <= ./Replacements/etc/pam.conf /lib/security/pam_permit.so # PROVISIONS FOR NSS # If you use old libc5, you don't need this. Comment out these lines. # /etc/nsswitch.conf <= ./Replacements/etc/nsswitch.conf # Check your version of libc and comment out the one you don't need: #/lib/libnss_files.so.1 # If you use use libc-2.0.X /lib/libnss_files.so.2 # If you use use libc-2.1.X or libc-2.2.X ##### INITTAB and GETTY # Use one of these pairs, based on your distribution: # #===== REDHAT (5.x, 6.0) uses getty #/etc/inittab <= Replacements/etc/inittab #/sbin/getty # # #===== MANDRAKE (7.0, 8.0) uses mingetty #/etc/inittab <= Replacements/etc/inittab.mingetty #/sbin/mingetty # # #===== SLACKWARE uses agetty: #/etc/inittab <= Replacements/etc/inittab.agetty #/sbin/agetty # # #===== DEBIAN (1.1) uses a program called "getty" which is actually # agetty in disguise: /etc/inittab <= Replacements/etc/inittab #/sbin/getty # # #===== SUSE uses mingetty: #/etc/inittab <= Replacements/etc/inittab.mingetty #/sbin/mingetty # # # If in doubt, check your /etc/inittab. # # In any case, check to make sure the *getty* calls in the inittab match # the executable you're using. Yard can't check this and *getty* will # hang if the arguments are wrong. ##### DEVICES /dev/mem /dev/kmem /dev/null /dev/zero /dev/ram* /dev/console /dev/tty /dev/tty[0-9] /dev/hd[abcd]* # Hard disks /dev/ttyS[0-9] # Serial ports (new style) # Optional devices. Uncomment the ones you want, but # keep in mind that each device file consumes an inode. /dev/fd0* # Floppy disk drives #/dev/*tape* # Tape device links #/dev/*rft0 # Floppy tape devices #/dev/st? # SCSI tape drives #/dev/sd* # SCSI disks /dev/cdrom /dev/modem # Links to real devices, which will be copied /dev/urandom /dev/random /dev/lp* /dev/gpmctl #/dev/mouse ##### 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 ##### terminfo entries. /usr/share/terminfo/v/vt100 #/usr/share/terminfo/v/vt100-am /usr/share/terminfo/l/linux #/usr/share/terminfo/l/linux-m #/usr/share/terminfo/l/linux-nic # If you want to load a special keytable, add the filename here: #/usr/lib/kbd/keytables/defkeymap.map ##### Empty directories #/mnt/* # all mount points /floppy /cdrom /mnt /proc /tmp /var/tmp ##### MODULES and support programs for them. insmod -> /bin/busybox rmmod -> /bin/busybox lsmod -> /bin/busybox depmod modprobe -> /bin/busybox #/sbin/kerneld #/etc/modules.conf /etc/conf.modules # Whichever you use /etc/modules <= Replacements/etc/modules /etc/modules.conf <= Replacements/etc/modules.conf /lib/modules/2.2.19/modules.dep /lib/modules/2.2.19/modules.generic_string /lib/modules/2.2.19/modules.ieee1394map /lib/modules/2.2.19/modules.isapnpmap /lib/modules/2.2.19/modules.parportmap /lib/modules/2.2.19/modules.pcimap /lib/modules/2.2.19/modules.pnpbiosmap /lib/modules/2.2.19/modules.usbmap # # The actual modules. You probably want to be more selective than this. # Do an "lsmod" and include the modules you use. /lib/modules/$RELEASE/*/ne.o /lib/modules/$RELEASE/*/8390.o /lib/modules/$RELEASE/*/ne2k-pci.o ##### ESSENTIAL SYSTEM UTILITIES # (your rescue disk may not boot if these are not present.) /bin/busybox <= Replacements/bin/busybox #busybox chmod -> /bin/busybox chown -> /bin/busybox chroot -> /bin/busybox cp -> /bin/busybox df -> /bin/busybox id -> /bin/busybox mkdir -> /bin/busybox pwd -> /bin/busybox rm -> /bin/busybox shutdown stty -> /bin/busybox sync -> /bin/busybox uname -> /bin/busybox ##### NON-ESSENTIAL BUT USEFUL UTILITIES /usr/bin/leftbracket -> /bin/busybox #/usr/sbin/adjtimex -> /bin/busybox ar -> /bin/busybox ash -> /bin/busybox basename -> /bin/busybox chgrp -> /bin/busybox chvt -> /bin/busybox clear -> /bin/busybox cmp -> /bin/busybox cpio -> /bin/busybox cut -> /bin/busybox date -> /bin/busybox /usr/bin/dc -> /bin/busybox #diff dd -> /bin/busybox deallocvt -> /bin/busybox dirname -> /bin/busybox dmesg -> /bin/busybox dos2unix -> /bin/busybox dpkg -> /bin/busybox dpkg-deb -> /bin/busybox du -> /bin/busybox #/usr/sbin/dumpkmap -> /bin/busybox /usr/bin/dutmp -> /bin/busybox echo -> /bin/busybox env -> /bin/busybox expr -> /bin/busybox #egrep fgrep #/usr/bin/fbset -> /bin/busybox /usr/sbin/fdflush -> /bin/busybox find -> /bin/busybox free -> /bin/busybox /usr/sbin/freeramdisk -> /bin/busybox fsck.minix -> /bin/busybox #fuser getopt -> /bin/busybox grep -> /bin/busybox egrep -> /bin/busybox gunzip -> /bin/busybox gzip -> /bin/busybox halt -> /bin/busybox head -> /bin/busybox hostid -> /bin/busybox kill -> /bin/busybox killall -> /bin/busybox klogd -> /bin/busybox /usr/bin/length -> /bin/busybox #/usr/bin/loadacm -> /bin/busybox #/usr/bin/loadfont -> /bin/busybox #/usr/bin/loadkmap -> /bin/busybox logger -> /bin/busybox logname -> /bin/busybox /sbin/logread -> /bin/busybox /usr/sbin/makedevs -> /bin/busybox md5sum -> /bin/busybox mkfifo -> /bin/busybox mkfs.minix -> /bin/busybox mktemp -> /bin/busybox tail -> /bin/busybox mkswap -> /bin/busybox mknod -> /bin/busybox mt -> /bin/busybox /usr/bin/nc -> /bin/busybox nslookup -> /bin/busybox # mt is tape utility. For floppy tapes, use ftmt instead. pidof -> /bin/busybox #/sbin/pivot_root -> /bin/busybox poweroff -> /bin/busybox printf -> /bin/busybox ps -> /bin/busybox rdate -> /bin/busybox readlink -> /bin/busybox renice -> /bin/busybox reset -> /bin/busybox rmdir -> /bin/busybox rpm2cpio -> /bin/busybox sed -> /bin/busybox setkeycodes -> /bin/busybox sleep -> /bin/busybox sort -> /bin/busybox syslogd -> /bin/busybox #passwd tar -> /bin/busybox tee -> /bin/busybox test -> /bin/busybox #/usr/bin/tftp -> /bin/busybox touch -> /bin/busybox tr -> /bin/busybox tty -> /bin/busybox uniq -> /bin/busybox unix2dos -> /bin/busybox uptime -> /bin/busybox /usr/bin/usleep -> /bin/busybox uudecode -> /bin/busybox uuencode -> /bin/busybox #/usr/bin/watchdog -> /bin/busybox #wget -> /bin/busybox snarf which -> /bin/busybox whoami -> /bin/busybox wc -> /bin/busybox xargs -> /bin/busybox yes -> /bin/busybox zcat -> /bin/busybox ###### Menu /usr/bin/pdmenu <= Replacements/usr/bin/pdmenu /etc/pdmenurc <= Replacements/etc/pdmenurc /etc/pdmenurc-c <= Replacements/etc/pdmenurc-c /usr/bin/izbor -> /etc/pdmenurc /usr/bin/izbor-c -> /etc/pdmenurc-c ########## Internet unhtml ######## Jezik /usr/local/sbin/cir-de <= Replacements/usr/local/sbin/cir-de /usr/local/sbin/cir <= Replacements/usr/local/sbin/cir /usr/local/sbin/lat <= Replacements/usr/local/sbin/lat /usr/local/sbin/lat-de <= Replacements/usr/local/sbin/lat-de /usr/local/sbin/lat-hr <= Replacements/usr/local/sbin/lat-hr consolechars loadkeys ############# ############# Datoteke potrebne za namje¹tanje latinica i æirilice /usr/share/consolefonts/iso02.f08.psf <= Replacements/usr/share/consolefonts/iso02.f08.psf /usr/share/consolefonts/iso02.f14.psf <= Replacements/usr/share/consolefonts/iso02.f14.psf /usr/share/consolefonts/iso02.f16.psf <= Replacements/usr/share/consolefonts/iso02.f16.psf /usr/share/consolefonts/iso05.f08.psf <= Replacements/usr/share/consolefonts/iso05.f08.psf /usr/share/consolefonts/iso05.f14.psf <= Replacements/usr/share/consolefonts/iso05.f14.psf /usr/share/consolefonts/iso05.f16.psf <= Replacements/usr/share/consolefonts/iso05.f16.psf /usr/share/consoletrans/iso02.acm <= Replacements/usr/share/consoletrans/iso02.acm /usr/share/consoletrans/iso05.acm <= Replacements/usr/share/consoletrans/iso05.acm /usr/share/keymaps/i386/qwertz/sr-na-de.kmap <= Replacements/usr/share/keymaps/i386/qwertz/sr-na-de.kmap /usr/share/keymaps/i386/qwertz/sr-iso-8859-5.kmap <= Replacements/usr/share/keymaps/i386/qwertz/sr-iso-8859-5.kmap /usr/share/keymaps/i386/qwertz/sr.kmap <= Replacements/usr/share/keymaps/i386/qwertz/sr.kmap /usr/share/keymaps/i386/qwertz/croat.kmap <= Replacements/usr/share/keymaps/i386/qwertz/croat.kmap /usr/share/keymaps/i386/qwertz/cirilicananjemackoj.kmap <= /home/marko/bin/cirilica.kmap ########## Logovanje /var/log/messages <= /dev/null ########## Igre /usr/games/tetris-bsd /var/games/bsdgames/tetris-bsd.scores ########## 3rd disk #/usr/bin/gpg #nvi #wipe #exportfs #rpc.mountd #nfsd #mountd ############ Encryption tea #teacp #tead #teash #teatun tea-kgen teatotal untea /usr/share/man/man1/tea.gz <= Replacements/usr/share/man/man1/tea.gz /usr/share/man/man1/untea.gz <= Replacements/usr/share/man/man1/untea.gz /usr/share/man/man1/teatotal.gz <= Replacements/usr/share/man/man1/teatotal.gz /usr/share/man/man1/tea-kgen.gz <= Replacements/usr/share/man/man1/tea-kgen.gz #/usr/share/man/man1/teatun.gz <= Replacements/usr/share/man/man1/teatun.gz #/usr/share/man/man1/teacp.gz <= Replacements/usr/share/man/man1/teacp.gz #/usr/share/man/man1/tead.gz <= Replacements/usr/share/man/man1/tead.gz #/usr/share/man/man1/teash.gz <= Replacements/usr/share/man/man1/teash.gz ########### Asmutils /usr/bin/httpd <= Replacements/usr/bin/httpd /usr/bin/asmsh <= Replacements/usr/bin/asmsh /usr/bin/scan <= Replacements/usr/bin/scan ########### Users /bin/su /home/marko/.profile <= Replacements/home/marko/.profile /home/benjamin/.profile <= Replacements/home/benjamin/.profile #/home/marko/.gnupg/* ######## Dokumentacija /usr/bin/man <= Replacements/usr/bin/man /usr/share/man/man1/snarf.gz <= Replacements/usr/share/man/man1/snarf.gz /usr/share/man/man1/ed.gz <= Replacements/usr/share/man/man1/ed.gz /usr/share/man/man1/red.gz -> /usr/share/man/man1/ed.gz /usr/share/doc/yu0-gnu-linux/PROÈITAJ.gz <= Replacements/usr/share/doc/yu0-gnu-linux/PROÈITAJ.gz /usr/share/doc/yu0-gnu-linux/matematika <= Replacements/usr/share/doc/yu0-gnu-linux/matematika /usr/share/doc/yu0-gnu-linux/ÜÐâÕÜÐâØÚÐ <= Replacements/usr/share/doc/yu0-gnu-linux/ÜÐâÕÜÐâØÚÐ /usr/share/doc/yu0-gnu-linux/¿À¾Ç¸Â°¨.gz <= Replacements/usr/share/doc/yu0-gnu-linux/¿À¾Ç¸Â°¨.gz /usr/share/doc/yu0-gnu-linux/ÿÃÂÁ²¾.gz <= Replacements/usr/share/doc/yu0-gnu-linux/ÿÃÂÁ²¾.gz /usr/share/doc/yu0-gnu-linux/UPUTSTVO.gz <= Replacements/usr/share/doc/yu0-gnu-linux/UPUTSTVO.gz /usr/share/doc/HOWTO/DOS-Win-na-Linux-KAKO.txt.gz <= Replacements/usr/share/doc/HOWTO/DOS-Win-na-Linux-KAKO.txt.gz /usr/share/doc/HOWTO/Dizanje-KAKO-0.3.gz <= Replacements/usr/share/doc/HOWTO/Dizanje-KAKO-0.3.gz /usr/share/doc/HOWTO/Linux-FAQ.txt.gz <= Replacements/usr/share/doc/HOWTO/Linux-FAQ.txt.gz /usr/share/doc/HOWTO/Meta-FAQ.txt.gz <= Replacements/usr/share/doc/HOWTO/Meta-FAQ.txt.gz /usr/share/doc/yu0-gnu-linux/GPL-2.gz <= Replacements/usr/share/doc/yu0-gnu-linux/GPL-2.gz /usr/share/doc/yu0-gnu-linux/index.html <= Replacements/usr/share/doc/yu0-gnu-linux/index.html #### Networking ifconfig -> /bin/busybox ping -> /bin/busybox route -> /bin/busybox telnet -> /bin/busybox /usr/bin/traceroute -> /bin/busybox #rsh /var/spool/mail ##### DISK AND FILE SYSTEM UTILITIES #fdisk #e2fsck fsck fsck.ext2 #mke2fs mkfs mkfs.ext2 #tune2fs #mklost+found ##### FILES FOR RESTORING BACKUPS # I use the tob package for backups, so I include everything to do # restorations. You might want to include man pages or help files. #tob #afio # Needed by tob #/usr/etc/tob.rc #/usr/etc/tob/* #/usr/etc/tob/lists/ #/usr/etc/tob/volumes/* ##### A basic text editor. I use jove, a light-weight emacs clone ##### which is small and requires only libc and libtermcap. #jove #/usr/lib/jove/jove.rc #vi -> /bin/busybox /usr/bin/e3 <= Replacements/usr/bin/e3 /usr/bin/e3vi /usr/bin/e3em /usr/bin/e3ne /usr/bin/e3pi /usr/bin/e3ws /bin/ed <= Replacements/bin/ed red -> /bin/ed ############ Ovo ide na treæi disk #/usr/bin/nvi <= Replacements/usr/bin/nvi #/usr/bin/ex <= Replacements/usr/bin/ex #/usr/bin/nex <= Replacements/usr/bin/nex #/usr/bin/vi <= Replacements/usr/bin/vi #/usr/bin/view <= Replacements/usr/bin/view ##### For user "root". #/root/.profile # A generic .profile: /root/.profile <= ./Replacements/root/.profile /root/.inputrc <= ./Replacements/root/.inputrc /root/.*shrc ##### End of Bootdisk_Contents