Commit Graph

283 Commits

Author SHA1 Message Date
sin
5c8cf6925d Add su manpage and fix su usage line 2014-04-13 17:23:26 +01:00
sin
466e9c493d Fix some more inconsistencies 2014-04-13 17:00:42 +01:00
sin
6ba1d6e048 Break line in mknod.1 2014-04-13 16:54:40 +01:00
sin
c35d668de3 Fix typo 2014-04-13 16:50:20 +01:00
sin
59769ecf3b Fix manpage style 2014-04-13 16:40:56 +01:00
sin
a226576983 Add pidof manpage 2014-04-13 16:36:34 +01:00
sin
e5b519c192 Fix uptime manpage 2014-04-13 16:28:58 +01:00
sin
f58c4312a4 Add umount manpage and fix umount usage 2014-04-13 16:28:51 +01:00
sin
decf8d8678 Add uptime manpage 2014-04-13 16:15:33 +01:00
sin
e79038e553 Add watch manpage 2014-04-13 14:53:59 +01:00
sin
9ba5dbdf13 Add dd to TODO 2014-04-13 14:46:02 +01:00
sin
12145b33e8 Add truncate manpage 2014-04-13 14:45:53 +01:00
s-p-k
9394409235 add unshare.1, swapon.8, swapoff.8 and update df.1 2014-04-12 19:37:06 +01:00
s-p-k
1c94fbbcd6 add pivot_root.8 2014-04-12 19:36:59 +01:00
sin
49f462da06 Add rmmod manpage 2014-04-12 15:21:21 +01:00
sin
1c0267ef8e Add mountpoint manpage 2014-04-12 15:11:50 +01:00
sin
7493628e52 Add mkswap manpage 2014-04-12 15:03:31 +01:00
sin
dd4dab958a Add pagesize manpage 2014-04-12 14:57:50 +01:00
sin
d218426d0c Add killall5 manpage 2014-04-12 14:38:37 +01:00
sin
3c1d1368d2 Add insmod manpage and fix insmod usage 2014-04-12 14:31:27 +01:00
sin
7687d7f7d1 Add getty manpage 2014-04-12 14:23:28 +01:00
sin
e238e16c5c Capitalize the one-line description in manpages 2014-04-12 14:16:56 +01:00
sin
984ed694b2 Add free manpage 2014-04-12 14:13:51 +01:00
sin
555e6bc447 Add fallocate manpage 2014-04-12 14:05:37 +01:00
sin
fa5241f545 Forgot SEE ALSO in who.1 2014-04-12 14:05:28 +01:00
sin
cf7fde1ee8 Minor stylisic changes to manpages 2014-04-12 13:58:56 +01:00
sin
11e8626fcd Add dmesg manpage and fix dmesg usage 2014-04-12 13:58:39 +01:00
sin
9c706df62d Add ctrlaltdel manpage 2014-04-12 13:58:30 +01:00
sin
7d47c075cc Manpage overhaul 2014-04-12 13:39:07 +01:00
sin
1392fce27a Don't prefix error messages with the program name
Do not escape error codes/error messages for no reason.
2014-04-11 23:47:28 +01:00
sin
f308a58740 Error out if dup2 doesn't return the fd we want 2014-04-10 11:21:44 +01:00
Hiltjo Posthuma
dfc2f7edac rmmod: fix segfault if '.' is not found
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-06 12:51:31 +01:00
Hiltjo Posthuma
acdac11285 mount: style for loop in catfile()
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-05 18:56:08 +01:00
Hiltjo Posthuma
ef1ab48699 mount: loop until no opt options
values can be specified as 0 to ignore them

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-05 18:55:56 +01:00
Hiltjo Posthuma
3c47a9a9d6 mount: rename bufsiz to datasiz for clarity
datasiz relates to the size of data

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-04 20:09:44 +01:00
Hiltjo Posthuma
5f4d18d4fa mount: cat /proc/mounts if no arguments given
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-04 20:09:37 +01:00
Hiltjo Posthuma
e71d009bd1 mount: add defaults option, it does nothing
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-04 20:09:26 +01:00
Hiltjo Posthuma
bbf3b5ac85 stat: implement -t (terse mode)
mostly compatible with coreutils and busybox. file mode is intentionally not compatible though.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-04 20:09:17 +01:00
Hiltjo Posthuma
139522b45e stat: declare initial functions to use at the top
remove Lflag. this will be more clear for terse format later on aswell.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-04-04 20:09:04 +01:00
sin
6529caebe2 Update README 2014-03-31 12:22:15 +01:00
sin
82c99b16a7 Be consistent and use #ifdef instead of #if 2014-03-28 16:00:43 +00:00
sin
21e708abd4 Prefix error/warning messages with program name if DEBUG is defined 2014-03-28 15:56:02 +00:00
sin
07592f31be Print system login processes correctly when doing who -l
Fix style as well.
2014-03-25 12:44:07 +00:00
Hiltjo Posthuma
9031fcfd29 mount: mounted(): dont exit on non-fatal things
this fixes mount -a. proceed iterating fstab entries even if an error occurs with some entry.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-03-22 22:18:52 +00:00
Hiltjo Posthuma
f1a747a0ca mount: use simple error status codes for now
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-03-22 22:18:37 +00:00
sin
6505db4709 Don't print errors for already mounted filesystems 2014-03-18 14:46:35 +00:00
sin
d06158ccf9 Use /proc/mounts instead of /etc/mtab
Let the kernel keep track of mounted filesystems, no need to use
/etc/mtab as we are not modifying it.
2014-03-18 14:29:14 +00:00
sin
ee88227c33 Don't list dummy rootfs by default 2014-03-18 14:20:58 +00:00
sin
7cd9280b11 Remove implemented items from TODO 2014-03-17 12:55:41 +00:00
sin
e91b3d9e71 Fix indentation for mount(8)
No functional change intended.
2014-03-17 12:49:05 +00:00