Hiltjo Posthuma
1c7b96de55
dmesg: fix usage and code-style
2015-02-06 15:16:24 +00:00
Hiltjo Posthuma
4855f188c1
fsfreeze: fix usage line, either -f or -u
2015-02-06 15:16:24 +00:00
Hiltjo Posthuma
96c15e765b
vtallow, who: usage using argv0
2015-02-06 15:16:23 +00:00
Hiltjo Posthuma
c7f472f468
dd: code-style, linewrap
2015-02-06 15:16:23 +00:00
Hiltjo Posthuma
f0cfd58e93
chvt: usage using argv0
2015-02-06 15:16:23 +00:00
Hiltjo Posthuma
a46944add9
dd.1: fix
2015-02-06 15:16:23 +00:00
Hiltjo Posthuma
363ac46766
Makefile: make man pages with ubase VERSION
2015-02-06 15:16:23 +00:00
Hiltjo Posthuma
544779a7b8
doc: convert man pages to mandoc, fix some typos in the process
2015-02-06 15:16:23 +00:00
Eon S. Jeon
6253da55c1
support llvm-ar
...
llvm-ar doesn't understand flags prefixed with dashes.
2015-02-03 11:56:06 +00:00
sin
8fe02392ed
dd: Only sync once
2015-02-02 22:32:56 +00:00
sin
1c2006fd2c
Add Risto to LICENSE
2015-01-26 19:26:22 +00:00
Risto Salminen
ab4f93cf47
Fix df hanging when statvfs() fails.
...
Now df prints out an appropriate error message when statvfs() fails
instead of just hanging. Also make df return 1 when statvfs() fails.
2015-01-26 19:26:22 +00:00
sin
f701698297
Don't do a blocking open in ttytostr()
2015-01-16 16:20:16 +00:00
sin
a7a561ef00
Handle cleanup properly in ttytostr()
2015-01-16 16:10:38 +00:00
sin
8a95422ff1
Check if the ttymaj/ttymin match is actually a tty
2015-01-16 16:10:37 +00:00
sin
a5c30abf8f
Use TTY_NAME_MAX instead of PATH_MAX
2015-01-16 15:55:07 +00:00
sin
d76319f838
Properly match (ttymaj, ttymin) pairs to tty names in /dev
...
For the common case where we have pts/ or tty do it straight
away. Otherwise traverse /dev for a match. This fixes ps(1) when
it is executed over a serial terminal with tty names like ttyAMA0.
2015-01-16 15:55:07 +00:00
sin
2a0deb7600
Update LICENSE
2014-12-31 22:02:29 +00:00
sin
084d375a7d
Update LICENSE file just like for sbase
2014-12-23 18:10:54 +00:00
sin
42db5e13d0
Rename to unlock/lock as opposed to enable/disable
2014-12-05 19:06:40 +00:00
sin
b0b8579eb3
Add vtallow.1
2014-12-05 15:41:13 +00:00
sin
4269d523e2
Add vtallow(1) to enable or disable VT switch
2014-12-05 15:16:07 +00:00
sin
74c0abb6a2
Use -D_XOPEN_SOURCE=700
2014-11-30 14:12:52 +00:00
sin
cee1a0170d
watch: If period is negative default to 0.1s
2014-11-30 14:08:42 +00:00
sin
703e18185c
Update watch(1) to handle more accurate intervals
2014-11-30 14:05:44 +00:00
sin
4cb108f557
No need for dmesg_show() to have an fd
2014-11-30 13:28:26 +00:00
sin
10d6bf2f4d
Stop using *_FILENO
2014-11-30 13:12:33 +00:00
sin
2d45a04b92
Check if 0, 1, 2 are valid tty file descriptors
2014-11-30 13:05:24 +00:00
sin
6da76775cb
Rework tty setup in getty(8)
2014-11-30 13:00:43 +00:00
sin
facc3a871f
Turn enumeration into #defines
2014-11-30 12:34:26 +00:00
sin
7819662024
Break out libs into LDLIBS
2014-11-30 12:31:22 +00:00
sin
0c008b65ee
Bring in the sbase Makefile updates to ubase
2014-11-30 12:18:54 +00:00
sin
ae7aafc127
Rename util/ to libutil/
2014-11-29 21:46:47 +00:00
sin
d81c43ee3f
Remove tools from README
2014-11-29 21:46:42 +00:00
sin
d2a7d5aeca
Don't initialize unneeded variables in swaplabel(8)
2014-11-29 21:32:53 +00:00
Jan Tatje
aed9e3f6fa
Add swaplabel(8)
2014-11-29 21:22:56 +00:00
sin
fd6f44d7bf
No bool
2014-11-24 11:30:08 +00:00
sin
154381a0c7
Sync up util/*.c from sbase
2014-11-17 16:04:35 +00:00
sin
6e3c035db8
Properly signal failure if command fails in ubase-box
...
Similar fix as the one provided by emg for sbase.
2014-11-10 23:40:00 +00:00
sin
8ddf33f492
Update TODO style
2014-11-07 20:40:09 +00:00
sin
3dedd9bf8c
Add last(1) manpage to TODO
2014-11-07 11:41:30 +00:00
sin
0427a16144
Remove hwclock from TODO
2014-11-01 15:59:44 +00:00
sin
cea440bd2d
df -hk should disable -h and df -kh should disable -k
2014-10-18 18:22:55 +01:00
Jeffrey Picard
dc3a9d9e2a
Implement df -hk
2014-10-18 18:17:40 +01:00
sin
7e2fe55d68
Remember to include libgen.h for basename(3)
2014-10-17 16:08:31 +01:00
sin
09bfb1d065
Update list of tools in README
2014-10-16 12:36:03 +01:00
sin
faf12794db
We cannot use eprintf() without first initializing argv0
2014-10-16 11:40:57 +01:00
sin
04a30829a2
Remove last from TODO
2014-10-16 11:31:00 +01:00
Roberto E. Vargas Caballero
82500097cf
Update only the modified objects in util.a
2014-10-16 11:29:38 +01:00
Roberto E. Vargas Caballero
2f03742e05
Add last and lastb
2014-10-16 11:28:01 +01:00