# # Make.Loop.txt # =============== # - read by Make.RD.Loop.sh # - list of files for creating a minimal rootfs.gz ( linux running in memory ) # # # Another Reference # ----------------- # http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Bootdisk-HOWTO.html#LISTINGS # # # 20-Nov-00 amo Date-of-Birth # 06-Nov-04 amo Split off list of files into Make.InitRD.txt and Make.Loop.txt # # # # # # Copy minimum /dev # ----------------- /dev/loop /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/ram /dev/ram? /dev/initrd # /dev/kmem /dev/mem /dev/shm /dev/port /dev/rtc # /dev/hda /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 /dev/hda5 /dev/hda6 /dev/hda7 /dev/hda8 /dev/hda9 /dev/hda10 /dev/hda11 /dev/hda12 /dev/hdc /dev/hdc1 /dev/hdc2 /dev/hdc3 /dev/hdc4 # /dev/console /dev/systty /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 # # ssh uses tty /dev/tty /dev/ttyp? # /dev/null /dev/zero # /dev/fd /dev/stdin /dev/stdout /dev/stderr /dev/initctl /dev/pts /dev/urandom /dev/random # # # for mouse /dev/mouse /dev/psaux # # # Copy minimum /etc # ------------------ # /etc/ld.so.conf /etc/ld.so.cache #etc/ioctl.save # /etc/passwd /etc/shadow /etc/group /etc/fstab # /etc/login.* /etc/gettydefs /etc/screenrc /etc/securetty /etc/motd /etc/issue # /etc/rc.d # /etc/inittab /etc/inputrc /etc/profile /etc/protocols /etc/services /etc/shells /etc/termcap #etc/termcap-Linux /etc/DIR_COLORS # # For network config /etc/HOSTNAME /etc/exports #etc/ntp /etc/ntp.conf /etc/resolv.conf /etc/hosts /etc/host.conf /etc/hosts.allow /etc/hosts.deny /etc/localtime /etc/nsswitch.conf #etc/random-seed # # # Copy minimum set of commands to load the rootfs into memory # ----------------------------------------------------------- # # hostname,whoami needed by chroot # /bin/ash /bin/mount /bin/umount # /bin/bash /bin/sh /bin/dd /bin/login /bin/mkdir /bin/rmdir /bin/gzip /bin/tar # # # /sbin/losetup /sbin/pivot_root # # # Which libraries are required # ---------------------------- # # mimimum required libs # # ldd /bin/gzip ; ldd /bin/mount ; ldd /usr/sbin/chroot ; ldd /sbin/modprobe # ld.so = loader lib for a.out # ld-linux.so = loader lib for ELF /lib/ld* /lib/libc* /lib/libdl* # # for buffer overflow protection /lib/libsafe* # # ldd /bin/bash ; ldd /usr/bin/vi #lib/libtermcap* /usr/lib/libtermcap* # # ldd /bin/tar ( gzip) ; ldd /bin/ls ; ldd /bin/date /lib/librt* /lib/libpthread* # # ldd /sbin/mke2fs ; ldd /sbin/e2fsck ; ldd /sbin/jfs_fsck /lib/libext2fs* /lib/libcom_err* /lib/libblkid* /lib/libuuid* /lib/libe2p* # # ldd /bin/more ; ldd /usr/bin/top ; ldd /usr/bin/pico ; ldd /bin/setterm # ldd /usr/bin/pico ; ldd /usr/bin/less /lib/libncurses* #lib/libgpm* /usr/lib/libgpm* # # ldd /usr/bin/sleep /lib/libm* # # ldd /sbin/sysctl ; ldd /usr/bin/top #lib/libproc.* # # # # ldd /usr/bin/ping ; ldd /usr/bin/vi ; ldd /usr/bin/tset ( reset, clear for vi ) /lib/libresolv* #lib/libncursesw* /usr/lib/libncursesw* # # for ping xxxxxx.com /lib/libnss_dns* # # libpam_misc # libpwdb # # /lib/libnss_compat* /lib/libnss_files* /usr/lib/libnss_compat* /usr/lib/libnss_files* # # # libm and libstdc are needed by telnet-client # # End of file