2014-03-31 07:18:32 -04:00
|
|
|
ubase - suckless linux base utils
|
|
|
|
=================================
|
2013-09-04 06:56:22 -04:00
|
|
|
|
2014-03-31 07:18:32 -04:00
|
|
|
ubase is a collection of tools similar in spirit to util-linux but
|
|
|
|
much simpler.
|
2013-09-04 06:56:22 -04:00
|
|
|
|
2014-03-31 07:18:32 -04:00
|
|
|
The following programs are currently implemented:
|
2013-09-04 06:56:22 -04:00
|
|
|
|
2014-03-31 07:18:32 -04:00
|
|
|
chvt clear ctrlaltdel df dmesg eject fallocate free getty halt id
|
|
|
|
insmod killall5 lsmod lsusb mknod mkswap mount mountpoint pagesize
|
2014-04-14 04:53:10 -04:00
|
|
|
pidof pivot_root ps rmmod stat su swapoff swapon switch_root
|
|
|
|
truncate umount unshare uptime watch who
|
2014-03-31 07:18:32 -04:00
|
|
|
|
|
|
|
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/
|