Commit Graph

295 Commits

Author SHA1 Message Date
sin
4d7091cae9 Use *_FILENO instead of hardcoding constants 2014-04-14 11:22:47 +01:00
sin
fc4dc81535 Some more stylistic changes to switch_root 2014-04-14 11:20:25 +01:00
sin
fb45d91ccc Add switch_root to README 2014-04-14 09:53:47 +01:00
sin
38a0ce084f Remember to return EXIT_FAILURE from main()
Doesn't matter in this case but gets rid of compiler warnings.
2014-04-14 09:47:13 +01:00
sin
483839d876 Add a SEE ALSO section for the umount manpage 2014-04-14 09:46:15 +01:00
FRIGN
c7d72a8a56 Implement switch_root 2014-04-14 09:44:38 +01:00
sin
1943d5d62f Be consistent with the escape sequences in the manpages 2014-04-14 09:28:07 +01:00
dwts
5c320a2cce update who.1 to list the -l option 2014-04-14 09:28:01 +01:00
dwts
4942308f86 add more info to unshare.1 2014-04-14 09:27:54 +01:00
sin
67d3051f27 Remove implemented items from TODO 2014-04-13 17:45:40 +01:00
sin
ca2effd60a Add mount manpage 2014-04-13 17:45:35 +01:00
sin
cc1eda23d0 Add ps manpage 2014-04-13 17:30:40 +01:00
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