Commit Graph

94 Commits

Author SHA1 Message Date
sin
2516ad8b10 Update TODO 2013-09-04 11:41:07 +01:00
sin
899d589db0 Add watch(1) 2013-09-04 11:35:36 +01:00
sin
65e02d66b5 We do not update /etc/mtab for mount/umount - update usage 2013-09-04 10:55:44 +01:00
sin
b682ecb3b5 Fix ubase-box target 2013-09-03 15:13:21 +01:00
sin
348f771fec Add missing include for pidof(8) 2013-09-03 15:09:47 +01:00
sin
80c3bdae3d Keep a list of all mount options
This makes it easier to parse all other options as well.
2013-09-03 14:34:15 +01:00
sin
c903b0da96 Limit ps(1) output based on the current terminal width 2013-09-03 14:11:37 +01:00
sin
818794af45 Set target to argv[0] - this is a bit more clear 2013-09-03 14:01:01 +01:00
sin
6ba6b731c1 Update TODO 2013-09-03 13:56:04 +01:00
sin
ac2c8e1495 Add barebones lsusb(8) 2013-09-03 13:52:47 +01:00
sin
fc7c1c0a88 Implement -x option for mountpoint(1) 2013-09-03 13:24:08 +01:00
sin
163a17a835 Ignore leading '-' in command name for pidof(8) 2013-09-02 15:00:59 +01:00
sin
c14983072b Fix segfault when arg is uninitialized 2013-09-02 14:58:40 +01:00
sin
3406f87852 Fix usage for pidof(8) 2013-09-02 14:56:35 +01:00
sin
755a96237c Implement -o support for pidof(8) 2013-09-02 16:22:46 +03:00
sin
1003ebad26 Implement -d support for mountpoint(1) 2013-09-01 18:24:34 +01:00
sin
2ca69a77fb Implement -o support for fallocate(1) 2013-09-01 17:57:59 +01:00
sin
c4315c880a df(1) supports -a 2013-09-01 17:53:21 +01:00
sin
b66839681f Ignore `LOGIN' name when counting the number of users 2013-09-01 17:50:03 +01:00
sin
a1bc935354 Update TODO 2013-08-31 22:23:08 +01:00
sin
ee5eccba1c Staticise table 2013-08-31 17:42:14 +01:00
sin
7afa5b8791 Make mount(8) work based on device id and inode number 2013-08-31 17:39:17 +01:00
sin
1927d28990 Add single shot option for pidof(8) 2013-08-31 17:33:45 +01:00
sin
6a1970caa4 Make mountpoint(1) work based on device id and the inode number 2013-08-29 19:24:16 +01:00
sin
aa665ffc85 Complain for invalid paths 2013-08-29 19:23:46 +01:00
sin
a81264cda1 Implement the -q option for mountpoint(1) 2013-08-29 19:06:58 +01:00
sin
9827789a47 Use BUFSIZ instead of PATH_MAX 2013-08-29 18:43:16 +01:00
sin
986e4981df No need to name the parameters in the function decls 2013-08-29 11:14:00 +01:00
sin
6a56bdf4ca Add primitive pidof(8) 2013-08-29 11:11:26 +01:00
sin
481d4fefb0 Update TODO 2013-08-29 10:35:15 +01:00
sin
bb10563c7a Make ubase compile with musl-gcc 2013-08-19 16:34:18 +01:00
sin
5c73758bba Add raw flag for dmesg 2013-08-17 17:22:30 +01:00
sin
41d82175fc Do not use a magic number for the size of the array 2013-08-17 17:20:00 +01:00
sin
42b640fa21 Rename validps() to pidfile() 2013-08-16 16:42:59 +01:00
sin
e33f5bed23 Add parsestatus() 2013-08-16 16:36:52 +01:00
sin
f462025156 ps(1) cleanup + comments 2013-08-16 15:59:20 +01:00
sin
3516186e4c No need to keep a tm pointer around 2013-08-16 15:53:07 +01:00
sin
9e8a7ac616 Check return value of sysinfo() 2013-08-16 15:51:37 +01:00
sin
f088b12877 Divide by sysconf(_SC_CLK_TCK) instead of a fixed 100 2013-08-16 15:49:51 +01:00
sin
f2285a1a35 Add -c flag for dmesg 2013-08-16 14:59:53 +01:00
sin
7f301a0825 Only parse extra things when -f is supplied 2013-08-16 14:50:01 +01:00
sin
9480f70121 Add comment for proc{euid,uid}() 2013-08-16 14:47:03 +01:00
sin
e84531958e Support -f for ps(1)
Fix missing break in tty.c as well.
2013-08-16 14:41:42 +01:00
sin
74146c54a7 Add uptime(1) 2013-08-16 11:55:55 +01:00
sin
30e0acef7a Update TODO 2013-08-16 11:36:26 +01:00
sin
f885062b22 Add truncate(1) 2013-08-16 11:34:52 +01:00
sin
9bbef8d06f Update TODO 2013-08-16 11:27:58 +01:00
sin
0f9fd144b7 Add fallocate(1) 2013-08-16 11:27:56 +01:00
sin
19992672a5 Opening brackets always on the next line for func defs 2013-08-16 11:15:37 +01:00
sin
afe56e4cc7 Add clear(1) 2013-08-16 11:15:36 +01:00