ubase/README

79 lines
1.3 KiB
Plaintext
Raw Normal View History

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-07-26 10:35:59 -04:00
chvt
clear
ctrlaltdel
dd
df
dmesg
eject
fallocate
free
freeramdisk
fsfreeze
getty
halt
hwclock
id
insmod
killall5
2014-08-18 17:32:58 -04:00
lastlog
2014-07-26 10:35:59 -04:00
login
lsmod
lsusb
mesg
mknod
mkswap
mount
mountpoint
pagesize
passwd
pidof
pivot_root
ps
readahead
respawn
rmmod
stat
su
swapoff
swapon
switch_root
sysctl
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
2014-06-30 09:18:06 -04:00
config.mk and config.h depending on your system.
2014-03-31 07:18:32 -04:00
You can also build ubase-box, which generates a single binary
containing all the required tools. You can then symlink the
2014-06-28 16:02:47 -04:00
individual tools to ubase-box or run them directly as follows:
ubase-box cmd [args]
2014-03-31 07:18:32 -04:00
Ideally you will want to statically link ubase. We highly recommend
using musl-libc[2].
2014-06-04 08:31:48 -04:00
ubase is known to compile with gcc, clang and tcc.
2014-03-31 07:18:32 -04:00
[1] http://git.suckless.org/sbase/
[2] http://www.musl-libc.org/