Code: Select all
bash-4.2$ find . -name '*'
.
./usr
./usr/share
./usr/share/doc
./usr/share/doc/.gitignore
./usr/share/man
./usr/share/man/.gitignore
./usr/lib
./usr/bin
./root
./root/.gitignore
./etc
./etc/motd
./etc/passwd
./etc/profile
./etc/hosts
./etc/kmodule.blacklist
./etc/group
./etc/screenrc
./etc/shadow
./etc/issue
./etc/hostname
./etc/rc.d
./etc/rc.d/rc.shutdown
./etc/rc.d/rc.sysinit
./sys
./sys/.gitignore
./var
./var/log
./var/log/.gitignore
./var/run
./var/db
./var/db/.gitignore
./tmp
./tmp/.gitignore
./run
./run/.gitignore
./lib
./lib/libXfont.a
./lib/libXext.a
./lib/libXinerama.a
./lib/libpthread.a
./lib/crtn.o
./lib/libutil.a
./lib/libxnet.a
./lib/libXss.a
./lib/libXcursor.a
./lib/pkgconfig
./lib/pkgconfig/zlib.pc
./lib/libXau.a
./lib/libXi.a
./lib/libm.a
./lib/crti.o
./lib/libz.a
./lib/musl-gcc.specs
./lib/libICE.a
./lib/libXmu.a
./lib/libcrypt.a
./lib/libX11.a
./lib/libXmuu.a
./lib/libXfixes.a
./lib/Scrt1.o
./lib/.gitignore
./lib/libXdmcp.a
./lib/crt1.o
./lib/libdl.a
./lib/librt.a
./lib/libXpm.a
./lib/libXt.a
./lib/libXtst.a
./lib/libXv.a
./lib/libresolv.a
./lib/libSM.a
./lib/libXaw.a
./lib/libc.a
./lib/libXrender.a
./dev
./dev/.gitignore
./bin
./bin/reboot
./bin/syslogd
./bin/init
./bin/depmod
./bin/mkdir
./bin/kill
./bin/dmesg
./bin/pivot_root
./bin/poweroff
./bin/client
./bin/mkfifo
./bin/ls
./bin/mount
./bin/vi
./bin/touch
./bin/sulogin
./bin/loksh
./bin/pwd
./bin/attach
./bin/rmdir
./bin/devd
./bin/relayd
./bin/sh
./bin/which
./bin/man
./bin/mknod
./bin/modinfo
./bin/ln
./bin/suspend
./bin/pidof
./bin/killall
./bin/cttyhack
./bin/modprobe
./bin/umount
./bin/logd
./bin/guess_fstype
./bin/lsmod
./bin/rmmod
./bin/ps
./bin/detachd
./bin/mktemp
./bin/cat
./bin/insmod
./bin/logger
./bin/sleep
./bin/hostname
./bin/chroot
./bin/Xfbdev
./bin/musl-gcc
./bin/grep
./bin/uname
./bin/sync
./proc
./proc/.gitignore
Edit 1: build is actually smaller with real cc anyway, about ~30k
Edit 2: What options to Xfbdev (made link to X) ???
Edit 3: "Failed to execute /init" ... that's where it stops for me .. maybe my loksh is stuffed up somehow. Anyway, I'll leave it for those who know what they're doing with this low level stuff