Mirror of Suckless' ubase (git://git.suckless.org/ubase)
Go to file
2014-04-12 14:13:51 +01:00
util Be consistent and use #ifdef instead of #if 2014-03-28 16:00:43 +00:00
arg.h
chvt.1 Manpage overhaul 2014-04-12 13:39:07 +01:00
chvt.c Don't prefix error messages with the program name 2014-04-11 23:47:28 +01:00
clear.1 Manpage overhaul 2014-04-12 13:39:07 +01:00
clear.c
config.def.h
config.mk
ctrlaltdel.8 Add ctrlaltdel manpage 2014-04-12 13:58:30 +01:00
ctrlaltdel.c
df.1 Manpage overhaul 2014-04-12 13:39:07 +01:00
df.c Don't list dummy rootfs by default 2014-03-18 14:20:58 +00:00
dmesg.1 Add dmesg manpage and fix dmesg usage 2014-04-12 13:58:39 +01:00
dmesg.c Add dmesg manpage and fix dmesg usage 2014-04-12 13:58:39 +01:00
eject.1 Manpage overhaul 2014-04-12 13:39:07 +01:00
eject.c
fallocate.1 Add fallocate manpage 2014-04-12 14:05:37 +01:00
fallocate.c
free.1 Add free manpage 2014-04-12 14:13:51 +01:00
free.c
getty.c Error out if dup2 doesn't return the fd we want 2014-04-10 11:21:44 +01:00
halt.8 Minor stylisic changes to manpages 2014-04-12 13:58:56 +01:00
halt.c
id.1 Manpage overhaul 2014-04-12 13:39:07 +01:00
id.c
insmod.c
killall5.c Implement -o for killall5 2014-03-17 12:29:34 +00:00
LICENSE
lsmod.8 Manpage overhaul 2014-04-12 13:39:07 +01:00
lsmod.c
lsusb.8 Manpage overhaul 2014-04-12 13:39:07 +01:00
lsusb.c
Makefile
mknod.1 Minor stylisic changes to manpages 2014-04-12 13:58:56 +01:00
mknod.c
mkswap.c
mount.c mount: style for loop in catfile() 2014-04-05 18:56:08 +01:00
mountpoint.c
pagesize.c
pidof.c
pivot_root.c
proc.h
ps.c
README Update README 2014-03-31 12:22:15 +01:00
reboot.h
rmmod.c rmmod: fix segfault if '.' is not found 2014-04-06 12:51:31 +01:00
stat.1 Minor stylisic changes to manpages 2014-04-12 13:58:56 +01:00
stat.c stat: implement -t (terse mode) 2014-04-04 20:09:17 +01:00
su.c
swapoff.c
swapon.c
TODO Remove implemented items from TODO 2014-03-17 12:55:41 +00:00
truncate.c
umount.c Use /proc/mounts instead of /etc/mtab 2014-03-18 14:29:14 +00:00
unshare.c
uptime.c
util.h
watch.c
who.1 Forgot SEE ALSO in who.1 2014-04-12 14:05:28 +01:00
who.c Don't prefix error messages with the program name 2014-04-11 23:47:28 +01:00

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/