Mirror of Suckless' ubase (git://git.suckless.org/ubase)
util | ||
arg.h | ||
chvt.1 | ||
chvt.c | ||
clear.1 | ||
clear.c | ||
config.def.h | ||
config.mk | ||
ctrlaltdel.8 | ||
ctrlaltdel.c | ||
df.1 | ||
df.c | ||
dmesg.1 | ||
dmesg.c | ||
eject.1 | ||
eject.c | ||
fallocate.1 | ||
fallocate.c | ||
free.1 | ||
free.c | ||
getty.c | ||
halt.8 | ||
halt.c | ||
id.1 | ||
id.c | ||
insmod.c | ||
killall5.c | ||
LICENSE | ||
lsmod.8 | ||
lsmod.c | ||
lsusb.8 | ||
lsusb.c | ||
Makefile | ||
mknod.1 | ||
mknod.c | ||
mkswap.c | ||
mount.c | ||
mountpoint.c | ||
pagesize.c | ||
pidof.c | ||
pivot_root.c | ||
proc.h | ||
ps.c | ||
README | ||
reboot.h | ||
rmmod.c | ||
stat.1 | ||
stat.c | ||
su.c | ||
swapoff.c | ||
swapon.c | ||
TODO | ||
truncate.c | ||
umount.c | ||
unshare.c | ||
uptime.c | ||
util.h | ||
watch.c | ||
who.1 | ||
who.c |
ubase - suckless linux base utils ================================= ubase is a collection of tools similar in spirit to util-linux but much simpler. The following programs are currently implemented: chvt clear ctrlaltdel df dmesg eject fallocate free getty halt id insmod killall5 lsmod lsusb mknod mkswap mount mountpoint pagesize pidof pivot_root ps rmmod stat su swapoff swapon truncate umount unshare uptime watch who The complement of ubase is sbase[1] which mostly follows POSIX and provides all the portable tools. Together they are intended to form a base system similar to busybox but much smaller and suckless. Building -------- To build ubase, simply type make. You may have to fiddle with config.mk depending on your system. You can also build ubase-box, which generates a single binary containing all the required tools. You can then symlink the individual tools to ubase-box. Ideally you will want to statically link ubase. We highly recommend using musl-libc[2]. [1] http://git.suckless.org/sbase/ [2] http://www.musl-libc.org/