Commit Graph

610 Commits

Author SHA1 Message Date
sin 4ce785f36e Add support for changing the console level in dmesg(1) 2013-09-23 15:13:16 +01:00
sin 301044f834 Update TODO 2013-09-23 13:13:29 +01:00
sin 7763d75d7a Correct function name in error 2013-09-17 16:44:45 +01:00
sin d8a51e73b9 Add support for rebooting the system through halt
Remove reboot
2013-09-17 16:34:26 +01:00
sin 450f930c17 Use /var/run/utmp for now
Musl-libc seems to define that to /dev/null/utmp
2013-09-16 15:58:44 +01:00
sin 713f1cfdb2 Handle correctly the -n option for mount and umount 2013-09-06 11:01:03 +01:00
sin 7f7c3f29e9 Don't use 'tty/' rather use 'tty' 2013-09-06 10:29:00 +01:00
sin 35bff9489e Use ferror() if fgets() returns NULL 2013-09-05 09:53:39 +01:00
sin 0c0a191fcb Fix tcc target in config.mk 2013-09-04 13:52:19 +01:00
sin 85de80425c Update TODO 2013-09-04 13:48:28 +01:00
sin a0858fa9e8 Do not use hard-coded values in halt.c and reboot.c 2013-09-04 13:47:05 +01:00
sin 1a090bf1eb Fix eject(1) so we can specify a device name 2013-09-04 13:34:20 +01:00
sin 2b767016b3 Add barebones eject(1) 2013-09-04 13:31:06 +01:00
sin ff85b15939 Add comment to clarify why we skip '-' in pidof(8) 2013-09-04 13:13:44 +01:00
sin 41794271a5 Add README 2013-09-04 11:56:22 +01:00
sin 692baf0ec5 Clear screen before cmd invocation 2013-09-04 11:48:43 +01:00
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