Commit Graph

334 Commits

Author SHA1 Message Date
sin
97cbad7eef Remove OpenBSD support
This is becoming a nightmare.  Just support Linux.
2013-08-14 14:40:47 +01:00
sin
92c3390657 Add mount(8) 2013-08-14 13:51:50 +01:00
sin
7f7189f54f Fix vertical spacing in dmesg.c 2013-08-12 11:29:21 +01:00
sin
b8d1f83437 Optimize dmesg(1) output on Linux 2013-08-12 11:26:34 +01:00
sin
6e4a0da527 Add oblique to LICENSE file 2013-08-12 11:22:42 +01:00
sin
e96ee7f6d0 Fix mkswap.c usage line 2013-08-12 11:21:15 +01:00
sin
f9dfa37f75 Add unshare(1)
No manpage yet.
2013-08-12 11:20:17 +01:00
sin
a770b91e62 Revert "Remove comment in eprintf.c"
This is actually useful when debugging ubase.
2013-08-12 11:03:53 +01:00
sin
10356a07c1 Ensure dmesg output on Linux has a terminating newline 2013-08-12 10:24:28 +01:00
sin
eaa5285d68 Rename syslog_{size,read,show} to dmesg_{size,read,show} 2013-08-12 10:18:14 +01:00
sin
f4ad2b276c Add missing include in syslog.c for OpenBSD 2013-08-12 12:15:09 +03:00
sin
afc831a836 Implement -L flag for stat(1) 2013-08-12 10:13:11 +01:00
sin
a7dc139c35 Make stat(1) work with stdin as well.
Implement show_stat().
2013-08-12 10:08:44 +01:00
oblique
211f13ae95 Add stat(1)
No manpage yet.
2013-08-12 09:39:21 +01:00
sin
7d653dbd07 Fix vertical spacing in umount.c 2013-08-10 11:38:30 +01:00
sin
6253a46693 Fix dmesg printing on Linux 2013-08-09 20:07:32 +01:00
sin
63678c3235 Remove comment in eprintf.c
We do not prefix with the program name.
2013-08-09 15:54:44 +01:00
sin
601e4ad5f9 Add swapon(8)
No manpage yet.
2013-08-09 15:48:59 +01:00
sin
0c37fe11e4 Add swapoff(8)
No manpage yet.
2013-08-09 15:48:57 +01:00
sin
051ed9a79c Add halt(8)
This is a very barebones halt cmd.  Please make sure that your
system is in a proper state to halt before using this.  This is
likely only useful for very barebones systems like an emergency
shell or similar.

Normally this command would be part of an actual init system.
2013-08-09 15:37:04 +01:00
sin
4a8e5b14ab Add reboot(8)
This is a very barebones reboot cmd.  Please make sure that your
system is in a proper state to reboot before using this.  This is
likely only useful for very barebones systems like an emergency
shell or similar.

Normally this command would be part of an actual init system.
2013-08-09 15:36:53 +01:00
sin
423e002098 Add mkswap(8)
No manpage yet.
2013-08-09 14:30:40 +01:00
sin
92895baad0 Add lsmod(8)
No manpage yet.
2013-08-09 11:31:19 +01:00
sin
691c4ae503 If opts is NULL just pass "" as expected by the kernel 2013-08-09 11:27:54 +01:00
sin
03a234e7f9 Add rmmod(8)
No manpage yet.
2013-08-09 11:27:47 +01:00
sin
5da030ecec Dump build options during make 2013-08-07 11:56:03 +01:00
sin
b90db5b7f7 Add insmod(8) 2013-08-07 11:52:36 +01:00
sin
acb55413b6 Add missing copyright + LICENSE details 2013-08-07 13:42:35 +03:00
sin
9fbe1e6e66 Implement -l support for umount
This operation is not supported on OpenBSD so just
set errno to ENOTSUP.
2013-08-07 10:33:19 +01:00
sin
d4c1710911 Add umount(8)
No manpage yet.
2013-08-07 10:13:21 +01:00
sin
7efb360b3c Add comment for grabmntinfo in ubase.h 2013-08-06 20:58:15 +01:00
sin
7b228e69b7 Add dmesg(1)
No manpage yet.
2013-08-06 20:58:13 +01:00
sin
353b8a2c0b Remove -pedantic for now
This causes all sorts of warnings including certain system
headers on OpenBSD.  We'll revisit this in the future.
2013-08-06 20:34:44 +01:00
sin
987ec1ef09 Initial commit of ubase - the ugly/unportable base 2013-08-06 13:17:14 +01:00