commit: b261030ba516cb43e61241a7aaaecdcd17329633 parent 55666b689062ecf6e051fe6f24583b7b4566e208 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Sat, 7 Sep 2024 14:49:10 +0200 oasis 883afcd7b3Diffstat:
158 files changed, 6 insertions(+), 1200 deletions(-)diff --git a/.perms b/.perms@@ -1,6 +1,5 @@ 040755 bin 106755 bin/doas -104755 bin/passwd 040755 boot 040755 dev 040755 etcdiff --git a/bin/[ b/bin/[@@ -0,0 +1 @@ +test +\ No newline at end of filediff --git a/bin/arch b/bin/archBinary files differ.diff --git a/bin/base64 b/bin/base64Binary files differ.diff --git a/bin/basename b/bin/basenameBinary files differ.diff --git a/bin/blkdiscard b/bin/blkdiscardBinary files differ.diff --git a/bin/cat b/bin/catBinary files differ.diff --git a/bin/chgrp b/bin/chgrp@@ -0,0 +1 @@ +chown +\ No newline at end of filediff --git a/bin/chmod b/bin/chmodBinary files differ.diff --git a/bin/chown b/bin/chownBinary files differ.diff --git a/bin/chroot b/bin/chrootBinary files differ.diff --git a/bin/chvt b/bin/chvtBinary files differ.diff --git a/bin/cksum b/bin/cksumBinary files differ.diff --git a/bin/clear b/bin/clearBinary files differ.diff --git a/bin/cmp b/bin/cmpBinary files differ.diff --git a/bin/ctrlaltdel b/bin/ctrlaltdelBinary files differ.diff --git a/bin/cut b/bin/cutBinary files differ.diff --git a/bin/date b/bin/dateBinary files differ.diff --git a/bin/df b/bin/dfBinary files differ.diff --git a/bin/dirname b/bin/dirnameBinary files differ.diff --git a/bin/dmesg b/bin/dmesgBinary files differ.diff --git a/bin/echo b/bin/echoBinary files differ.diff --git a/bin/eject b/bin/ejectBinary files differ.diff --git a/bin/env b/bin/envBinary files differ.diff --git a/bin/expr b/bin/exprBinary files differ.diff --git a/bin/fallocate b/bin/fallocateBinary files differ.diff --git a/bin/false b/bin/falseBinary files differ.diff --git a/bin/free b/bin/freeBinary files differ.diff --git a/bin/freeramdisk b/bin/freeramdiskBinary files differ.diff --git a/bin/fsfreeze b/bin/fsfreezeBinary files differ.diff --git a/bin/getty b/bin/gettyBinary files differ.diff --git a/bin/halt b/bin/haltBinary files differ.diff --git a/bin/head b/bin/headBinary files differ.diff --git a/bin/hwclock b/bin/hwclockBinary files differ.diff --git a/bin/id b/bin/idBinary files differ.diff --git a/bin/insmod b/bin/insmodBinary files differ.diff --git a/bin/install b/bin/installBinary files differ.diff --git a/bin/join b/bin/joinBinary files differ.diff --git a/bin/killall5 b/bin/killall5Binary files differ.diff --git a/bin/last b/bin/lastBinary files differ.diff --git a/bin/lastlog b/bin/lastlogBinary files differ.diff --git a/bin/link b/bin/linkBinary files differ.diff --git a/bin/ln b/bin/lnBinary files differ.diff --git a/bin/login b/bin/loginBinary files differ.diff --git a/bin/logname b/bin/lognameBinary files differ.diff --git a/bin/lsmod b/bin/lsmodBinary files differ.diff --git a/bin/lsusb b/bin/lsusbBinary files differ.diff --git a/bin/mesg b/bin/mesgBinary files differ.diff --git a/bin/mkdir b/bin/mkdirBinary files differ.diff --git a/bin/mkfifo b/bin/mkfifoBinary files differ.diff --git a/bin/mknod b/bin/mknodBinary files differ.diff --git a/bin/mkswap b/bin/mkswapBinary files differ.diff --git a/bin/mktemp b/bin/mktempBinary files differ.diff --git a/bin/mount b/bin/mountBinary files differ.diff --git a/bin/mountpoint b/bin/mountpointBinary files differ.diff --git a/bin/mv b/bin/mvBinary files differ.diff --git a/bin/nice b/bin/niceBinary files differ.diff --git a/bin/nohup b/bin/nohupBinary files differ.diff --git a/bin/nologin b/bin/nologinBinary files differ.diff --git a/bin/nproc b/bin/nprocBinary files differ.diff --git a/bin/pagesize b/bin/pagesizeBinary files differ.diff --git a/bin/passwd b/bin/passwdBinary files differ.diff --git a/bin/pathchk b/bin/pathchkBinary files differ.diff --git a/bin/pidof b/bin/pidofBinary files differ.diff --git a/bin/pivot_root b/bin/pivot_rootBinary files differ.diff --git a/bin/printf b/bin/printfBinary files differ.diff --git a/bin/ps b/bin/psBinary files differ.diff --git a/bin/pwd b/bin/pwdBinary files differ.diff --git a/bin/pwdx b/bin/pwdxBinary files differ.diff --git a/bin/readahead b/bin/readaheadBinary files differ.diff --git a/bin/readlink b/bin/readlink@@ -0,0 +1 @@ +realpath +\ No newline at end of filediff --git a/bin/realpath b/bin/realpathBinary files differ.diff --git a/bin/respawn b/bin/respawnBinary files differ.diff --git a/bin/rm b/bin/rmBinary files differ.diff --git a/bin/rmdir b/bin/rmdirBinary files differ.diff --git a/bin/rmmod b/bin/rmmodBinary files differ.diff --git a/bin/seq b/bin/seqBinary files differ.diff --git a/bin/sha1sum b/bin/sha1sumBinary files differ.diff --git a/bin/sleep b/bin/sleepBinary files differ.diff --git a/bin/split b/bin/splitBinary files differ.diff --git a/bin/stat b/bin/statBinary files differ.diff --git a/bin/strings b/bin/stringsBinary files differ.diff --git a/bin/stty b/bin/sttyBinary files differ.diff --git a/bin/swaplabel b/bin/swaplabelBinary files differ.diff --git a/bin/swapoff b/bin/swapoffBinary files differ.diff --git a/bin/swapon b/bin/swaponBinary files differ.diff --git a/bin/switch_root b/bin/switch_rootBinary files differ.diff --git a/bin/sync b/bin/syncBinary files differ.diff --git a/bin/sysctl b/bin/sysctlBinary files differ.diff --git a/bin/tee b/bin/teeBinary files differ.diff --git a/bin/test b/bin/testBinary files differ.diff --git a/bin/time b/bin/timeBinary files differ.diff --git a/bin/touch b/bin/touchBinary files differ.diff --git a/bin/tr b/bin/trBinary files differ.diff --git a/bin/true b/bin/trueBinary files differ.diff --git a/bin/truncate b/bin/truncateBinary files differ.diff --git a/bin/tty b/bin/ttyBinary files differ.diff --git a/bin/umount b/bin/umountBinary files differ.diff --git a/bin/uname b/bin/unameBinary files differ.diff --git a/bin/uniq b/bin/uniqBinary files differ.diff --git a/bin/unlink b/bin/unlinkBinary files differ.diff --git a/bin/unshare b/bin/unshareBinary files differ.diff --git a/bin/uptime b/bin/uptimeBinary files differ.diff --git a/bin/vmstat b/bin/vmstatBinary files differ.diff --git a/bin/vtallow b/bin/vtallowBinary files differ.diff --git a/bin/watch b/bin/watchBinary files differ.diff --git a/bin/wc b/bin/wcBinary files differ.diff --git a/bin/which b/bin/whichBinary files differ.diff --git a/bin/who b/bin/whoBinary files differ.diff --git a/bin/yes b/bin/yesBinary files differ.diff --git a/share/man/man1/chvt.1 b/share/man/man1/chvt.1@@ -1,15 +0,0 @@ -.Dd September 7, 2015 -.Dt CHVT 1 -.Os ubase -.Sh NAME -.Nm chvt -.Nd change foreground virtual terminal -.Sh SYNOPSIS -.Nm -.Ar num -.Sh DESCRIPTION -.Nm -brings -.Pf /dev/tty Ar num -to the foreground. This has the same effect as -.Pf Ctrl-Alt-F Ar num .diff --git a/share/man/man1/clear.1 b/share/man/man1/clear.1@@ -1,11 +0,0 @@ -.Dd February 2, 2015 -.Dt CLEAR 1 -.Os ubase -.Sh NAME -.Nm clear -.Nd clear the screen -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -clears the screen.diff --git a/share/man/man1/df.1 b/share/man/man1/df.1@@ -1,27 +0,0 @@ -.Dd February 2, 2015 -.Dt DF 1 -.Os ubase -.Sh NAME -.Nm df -.Nd show file system usage -.Sh SYNOPSIS -.Nm -.Op Fl ahis -.Sh DESCRIPTION -.Nm -displays the amount of disk space available on a file system. -If no arguments are given, -.Nm -shows all the file systems using 512-byte blocks. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl a -Show all file systems including dummy ones. This is the default -option. -.It Fl h -Not implemented. -.It Fl i -Not implemented. -.It Fl s -Not implemented. -.Eldiff --git a/share/man/man1/dmesg.1 b/share/man/man1/dmesg.1@@ -1,28 +0,0 @@ -.Dd February 2, 2015 -.Dt DMESG 1 -.Os ubase -.Sh NAME -.Nm dmesg -.Nd print or control the kernel ring buffer -.Sh SYNOPSIS -.Nm -.Op Fl Ccr -.Op Fl n Ar level -.Sh DESCRIPTION -.Nm -examines or controls the kernel ring buffer. By default it reads all the -messages from the kernel ring buffer and prints them to stdout. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl C -Clear the ring buffer. -.It Fl c -Clear the ring buffer after printing its contents. -.It Fl n Ar level -Set the console -.Ar level . -The log levels are defined in the file -.Pa include/linux/kern_levels.h . -.It Fl r -Print the raw message buffer. -.Eldiff --git a/share/man/man1/eject.1 b/share/man/man1/eject.1@@ -1,25 +0,0 @@ -.Dd September 9, 2015 -.Dt EJECT 1 -.Os ubase -.Sh NAME -.Nm eject -.Nd control device trays -.Sh SYNOPSIS -.Nm -.Op Fl t -.Op Ar device ... -.Sh DESCRIPTION -.Nm -opens the tray of each -.Ar device . -If no -.Ar device -is given -.Nm -opens the tray of -.Pa /dev/sr0 . -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl t -Close instead of open the tray. -.Eldiff --git a/share/man/man1/fallocate.1 b/share/man/man1/fallocate.1@@ -1,33 +0,0 @@ -.Dd September 12, 2015 -.Dt FALLOCATE 1 -.Os ubase -.Sh NAME -.Nm fallocate -.Nd preallocate files -.Sh SYNOPSIS -.Nm -.Op Fl o Ar num -.Fl l Ar num -.Ar file ... -.Sh DESCRIPTION -.Nm -if necessary creates and preallocates each -.Ar file -without truncation. -.sp -Given the filesystem supports -.Xr fallocate 2 , -it is a very fast method of preallocation. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl l Ar num -Preallocate -.Ar num -bytes. -.It Fl o Ar num -Offset allocation by -.Ar num -bytes. -.El -.Sh SEE ALSO -.Xr fallocate 2diff --git a/share/man/man1/free.1 b/share/man/man1/free.1@@ -1,24 +0,0 @@ -.Dd February 2, 2015 -.Dt FREE 1 -.Os ubase -.Sh NAME -.Nm free -.Nd display amount of free and used memory in the system -.Sh SYNOPSIS -.Nm -.Op Fl bgkm -.Sh DESCRIPTION -.Nm -displays the total amount of free and used physical and swap memory in the -system, as well as the buffers used by the kernel. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl b -Display the amount of memory in bytes. This is the default. -.It Fl g -Display the amount of memory in gigabytes. -.It Fl k -Display the amount of memory in kilobytes. -.It Fl m -Display the amount of memory in megabytes. -.El -\ No newline at end of filediff --git a/share/man/man1/id.1 b/share/man/man1/id.1@@ -1,29 +0,0 @@ -.Dd April 24, 2015 -.Dt ID 1 -.Os ubase -.Sh NAME -.Nm id -.Nd print real and effective user and group IDs -.Sh SYNOPSIS -.Nm -.Op Fl n -.Op Fl g | u | G -.Op Ar user | uid -.Sh DESCRIPTION -.Nm -prints user and group information of the calling process to standard output. -If a login name or uid is specified, the user and group information of that -user is displayed. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl n -Print names instead of ID numbers, for -g, -u, and -G. -.It Fl g -Print only the effective group ID. -.It Fl u -Print only the effective user ID. -.It Fl G -Display group information as whitespace separated numbers, in no particular order. -.El -.Sh SEE ALSO -.Xr who 1diff --git a/share/man/man1/login.1 b/share/man/man1/login.1@@ -1,27 +0,0 @@ -.Dd February 2, 2015 -.Dt LOGIN 1 -.Os ubase -.Sh NAME -.Nm login -.Nd log into the system -.Sh SYNOPSIS -.Nm -.Op Fl p -.Ar username -.Sh DESCRIPTION -.Nm -logs the -.Ar username -into the system. It sets -.Ev HOME , -.Ev SHELL , -.Ev USER , -.Ev LOGNAME -and the -.Ev PATH environment variables and invokes the login shell as specified in -.Pa /etc/passwd . -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl p -Preserve the environment. -.Eldiff --git a/share/man/man1/mesg.1 b/share/man/man1/mesg.1@@ -1,27 +0,0 @@ -.Dd February 2, 2015 -.Dt MESG 1 -.Os ubase -.Sh NAME -.Nm mesg -.Nd display (do not display) messages from other users -.Sh SYNOPSIS -.Nm -.Op Fl n | Fl y -.Sh DESCRIPTION -.Nm -controls write access others have to the terminal device associated with -standard error output. If write access is allowed, then programs such as -.Xr talk 1 -and -.Xr write 1 -may display messages on the terminal. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl n -Disallow messages. -.It Fl y -Allow messages. -.El -.Sh SEE ALSO -.Xr talk 1 , -.Xr write 1diff --git a/share/man/man1/mountpoint.1 b/share/man/man1/mountpoint.1@@ -1,32 +0,0 @@ -.Dd February 2, 2015 -.Dt MOUNTPOINT 1 -.Os ubase -.Sh NAME -.Nm mountpoint -.Nd check if a directory is a mountpoint -.Sh SYNOPSIS -.Nm -.Op Fl dq -.Ar directory -.Nm -.Fl x Ar device -.Sh DESCRIPTION -.Nm -checks if the -.Ar directory -is mentioned in the -.Pa /proc/mounts -file. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl d -Print the major/minor device number of the filesystem on stdout. -.It Fl q -Be quiet, don't print anything. -.It Fl x -Print the major/minor device number of the -.Ar device -on stdout. -.El -.Sh SEE ALSO -.Xr mount 8diff --git a/share/man/man1/pagesize.1 b/share/man/man1/pagesize.1@@ -1,12 +0,0 @@ -.Dd February 2, 2015 -.Dt PAGESIZE 1 -.Os ubase -.Sh NAME -.Nm pagesize -.Nd print system page size -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -prints the size of a page of memory in bytes. This program is -useful in constructing portable shell scripts. -\ No newline at end of filediff --git a/share/man/man1/passwd.1 b/share/man/man1/passwd.1@@ -1,15 +0,0 @@ -.Dd February 2, 2015 -.Dt PASSWD 1 -.Os ubase -.Sh NAME -.Nm passwd -.Nd change a user's password -.Sh SYNOPSIS -.Nm -.Op Ar username -.Sh DESCRIPTION -.Nm -changes the user's password. The user is prompted for their current password. -If the current password is correctly typed, a new password is requested. The -new password must be entered twice to avoid typing errors. The superuser is -not required to provide a user's current password.diff --git a/share/man/man1/pidof.1 b/share/man/man1/pidof.1@@ -1,25 +0,0 @@ -.Dd February 2, 2015 -.Dt PIDOF 1 -.Os ubase -.Sh NAME -.Nm pidof -.Nd find the process ID of a running program -.Sh SYNOPSIS -.Nm -.Op Fl o Ar pid1,pid2,...pidN -.Op Fl s -.Op Ar program... -.Sh DESCRIPTION -.Nm -finds the process id's of the named programs and prints them to -stdout. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl o -Tell pidof to omit processes with that process id. The special pid -%PPID can be used to name the parent process of the pidof program. -.It Fl s -Single shot - this instructs the program to only return one process id. -.El -.Sh SEE ALSO -.Xr killall5 8diff --git a/share/man/man1/ps.1 b/share/man/man1/ps.1@@ -1,29 +0,0 @@ -.Dd February 2, 2015 -.Dt PS 1 -.Os ubase -.Sh NAME -.Nm ps -.Nd display process status -.Sh SYNOPSIS -.Nm -.Op Fl aAdef -.Sh DESCRIPTION -.Nm -displays information about active processes. When given no options, -.Nm -prints information about processes of the current user that has a -controlling terminal. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl a -Select all processes except both session leaders and processes not -associated with a terminal. -.It Fl A -Select all processes. Identical to \fB-e\fR. -.It Fl d -Select all processes except session leaders. -.It Fl e -Select all processes. Identical to \fB-A\fR. -.It Fl f -Do full-format listing. -.Eldiff --git a/share/man/man1/pwdx.1 b/share/man/man1/pwdx.1@@ -1,13 +0,0 @@ -.Dd March 26, 2015 -.Dt PWDX 1 -.Os ubase -.Sh NAME -.Nm pwdx -.Nd print working directory of other processes -.Sh SYNOPSIS -.Nm -.Ar pid... -.Sh DESCRIPTION -.Nm -Prints the current working directory for each -.Ar pid .diff --git a/share/man/man1/respawn.1 b/share/man/man1/respawn.1@@ -1,32 +0,0 @@ -.Dd February 2, 2015 -.Dt RESPAWN 1 -.Os ubase -.Sh NAME -.Nm respawn -.Nd spawn the given command repeatedly -.Sh SYNOPSIS -.Nm -.Op Fl l Ar fifo -.Op Fl d Ar N -.Ar cmd Op Ar args... -.Sh DESCRIPTION -.Nm -spawns the given -.Ar cmd -in a new session repeatedly. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl d -Set the delay between invocations of \fIcmd\fR. It defaults to 0. -.It Fl l -Listen on the specified -.Ar fifo -for writes. For each write spawn a new instance of -.Ar cmd . -This can be used in conjunction with a process supervisor to restart a -particular program. The -.Fl l -and -.Fl d -options are incompatible. All writes are discarded. -.El -\ No newline at end of filediff --git a/share/man/man1/stat.1 b/share/man/man1/stat.1@@ -1,24 +0,0 @@ -.Dd February 2, 2015 -.Dt STAT 1 -.Os ubase -.Sh NAME -.Nm stat -.Nd display file status -.Sh SYNOPSIS -.Nm -.Op Fl L -.Op Ar file... -.Sh DESCRIPTION -.Nm -displays information about the given -.Ar files -or stdin if no -.Ar files -are specified. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl L -Follow links. -.El -.Sh SEE ALSO -.Xr stat 2diff --git a/share/man/man1/truncate.1 b/share/man/man1/truncate.1@@ -1,36 +0,0 @@ -.Dd February 2, 2015 -.Dt TRUNCATE 1 -.Os ubase -.Sh NAME -.Nm truncate -.Nd shrink or extend the size of a file to the specified size -.Sh SYNOPSIS -.Nm -.Op Fl c -.Fl s Ar size -.Ar file... -.Sh DESCRIPTION -.Nm -shrinks or extends the size of each -.Ar file -specified size. A -.Ar file -argument that does not exist is created. If a -.Ar file -is larger than the specified -.Ar size , -the extra data is lost. If a -.Ar file -is shorter, it is extended and the extended part (hole) reads as zero bytes. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl c -Do not create any files. -.It Fl s Ar size -Set or adjust the file size by -.Ar size -bytes. -.El -.Sh SEE ALSO -.Xr ftruncate 2 , -.Xr truncate 2 -\ No newline at end of filediff --git a/share/man/man1/unshare.1 b/share/man/man1/unshare.1@@ -1,58 +0,0 @@ -.Dd February 2, 2015 -.Dt UNSHARE 1 -.Os ubase -.Sh NAME -.Nm unshare -.Nd run program with some namespaces unshared from parent -.Sh SYNOPSIS -.Nm -.Op Fl muinpU -.Ar cmd -.Op Ar args... -.Sh DESCRIPTION -.Nm -unshares the indicated namespaces from the parent process and then executes -the specified program. The namespaces to be unshared are indicated via -options. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl i -Unshare the System V IPC namespace, so that the calling process has a -private copy of the System V IPC namespace which is not shared with -any other process. This flag has the same effect as the -.Xr clone 2 -.Dv CLONE_NEWIPC -flag. -.It Fl m -Unshare the mount namespace, so that the calling process has a private -copy of its namespace which is not shared with any other process. -This flag has the same effect as the -.Xr clone 2 -.Dv CLONE_NEWNS -flag. -.It Fl n -Unshare the network namespace, so that the calling process is moved -into a new network namespace which is not shared with any previously -existing process. This flag has the same effect as the -.Xr clone 2 -.Dv CLONE_NEWNET -flag. -.It Fl u -Unshare the UTS IPC namespace, so that the calling process has a -private copy of the UTS namespace which is not shared with any other -process. This flag has the same effect as the -.Xr clone 2 -.Dv CLONE_NEWUTS -flag. -.It Fl p -Create the process in a new PID namespace. This flag has the same -effect as the -.Xr clone 2 -.Dv CLONE_NEWPID -flag. -.It Fl U -The process will have a distinct set of UIDs, GIDs and capabilities. -.El -.Sh SEE ALSO -.Xr clone 2 , -.Xr unshare 2diff --git a/share/man/man1/uptime.1 b/share/man/man1/uptime.1@@ -1,16 +0,0 @@ -.Dd February 2, 2015 -.Dt UPTIME 1 -.Os ubase -.Sh NAME -.Nm uptime -.Nd tell how long the system has been running -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -gives a one line display of the following information. The current time, how -long the system has been running, how many users are currently logged on and -the system load averages for the past 1, 5 and 15 minutes. -.Sh SEE ALSO -.Xr ps 1 , -.Xr utmp 5diff --git a/share/man/man1/vtallow.1 b/share/man/man1/vtallow.1@@ -1,21 +0,0 @@ -.Dd December 5, 2014 -.Dt VTALLOW 1 -.Os ubase -.Sh NAME -.Nm vtallow -.Nd enable or disable the VT switch -.Sh SYNOPSIS -.Nm vtallow -.Ar n | Ar y -.Sh DESCRIPTION -.Nm -controls the VT switch lock. -.Sh OPTIONS -.Bl -tag -width Ds -.It Ar n -Disable VT switching. -.It Ar y -Enable VT switching. -.El -.Sh SEE ALSO -.Xr chvt 1diff --git a/share/man/man1/watch.1 b/share/man/man1/watch.1@@ -1,27 +0,0 @@ -.Dd February 2, 2015 -.Dt WATCH 1 -.Os ubase -.Sh NAME -.Nm watch -.Nd execute a program periodically, showing output fullscreen -.Sh SYNOPSIS -.Nm -.Op Fl n Ar interval -.Op Fl t -.Ar command -.Sh DESCRIPTION -.Nm -runs -.Ar command -repeatedly, displaying its output one screenfull at a time. This allows you -to watch the program output change over time. By default the program is run -every 2 seconds and will run until terminated. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl n Ar interval -Specify the update interval. -.It Fl t -Turn off the header showing the interval, command and current time at the top -of the display, as well as the following blank line. This is the default -action. -.Eldiff --git a/share/man/man1/who.1 b/share/man/man1/who.1@@ -1,28 +0,0 @@ -.Dd February 2, 2015 -.Dt WHO 1 -.Os ubase -.Sh NAME -.Nm who -.Nd print who has logged on -.Sh SYNOPSIS -.Nm -.Op Fl lm -.Sh DESCRIPTION -.Nm -prints a list of who has logged on, their controlling tty, and the -time at which they logged on. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl l -Print LOGIN processes as well. -.It Fl m -Only show users on current tty. -.El -.Sh SEE ALSO -.Xr utmp 5 -.Sh BUGS -.Nm -relies on the utmp file to be updated responsibly. This -doesn't always happen, which can cause -.Nm -to print completely bogus data.diff --git a/share/man/man8/blkdiscard.8 b/share/man/man8/blkdiscard.8@@ -1,12 +0,0 @@ -.Dd July 2, 2018 -.Dt BLKDISCARD 8 -.Os ubase -.Sh NAME -.Nm blkdiscard -.Nd discard sectors on a device -.Sh SYNOPSIS -.Nm -.Ar device -.Sh DESCRIPTION -.Nm -is used to discard all device sectors on solid-state devices.diff --git a/share/man/man8/ctrlaltdel.8 b/share/man/man8/ctrlaltdel.8@@ -1,31 +0,0 @@ -.Dd September 7, 2015 -.Dt CTRLALTDEL 8 -.Os ubase -.Sh NAME -.Nm ctrlaltdel -.Nd toggle Ctrl-Alt-Del behaviour -.Sh SYNOPSIS -.Nm -.Fl h | s -.Sh DESCRIPTION -.Nm -toggles the function of Ctrl-Alt-Del based on the two choices given in -.Pa linux/kernel/sys.c : -.Bl -tag -width Ds -.It hard reset -reboot the computer immediately without calling -.Xr sync 2 . -.It soft reset -send SIGINT to -.Xr init 8 . -.El -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl h -Set to hard reset. -.It Fl s -Set to soft reset. -.El -.Sh SEE ALSO -.Xr sync 2 , -.Xr init 8diff --git a/share/man/man8/freeramdisk.8 b/share/man/man8/freeramdisk.8@@ -1,13 +0,0 @@ -.Dd February 2, 2015 -.Dt FREERAMDISK 8 -.Os ubase -.Sh NAME -.Nm freeramdisk -.Nd free memory used by the loadlin ramdisk -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -frees the memory that is used by the ramdisk. It uses the -.Pa /dev/ram -device node. -\ No newline at end of filediff --git a/share/man/man8/fsfreeze.8 b/share/man/man8/fsfreeze.8@@ -1,33 +0,0 @@ -.Dd March 26, 2016 -.Dt FSFREEZE 8 -.Os ubase -.Sh NAME -.Nm fsfreeze -.Nd suspend access to a filesystem -.Sh SYNOPSIS -.Nm -.Po Fl f | Fl u Pc -.Ar mountpoint -.Sh DESCRIPTION -.Nm -suspends and resumes access to a filesystem. -.Nm -is intended to be used with hardware RAID devices that support the creation -of snapshots. -The -.Ar mountpoint -argument is the pathname of the directory where the filesystem is mounted. -The filesystem must be mounted to be frozen. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl f -Freeze the filesystem mounted at -.Ar mountpoint . -.It Fl u -Unfreeze the filesystem mounted at -.Ar mountpoint . -.El -.Sh SEE ALSO -.Xr mount 8 -.Sh BUGS -Only works for ext3/4, reiserfs, jfs and xfs.diff --git a/share/man/man8/getty.8 b/share/man/man8/getty.8@@ -1,22 +0,0 @@ -.Dd February 2, 2015 -.Dt GETTY 8 -.Os ubase -.Sh NAME -.Nm getty -.Nd suckless linux getty -.Sh SYNOPSIS -.Nm -.Op Ar tty Op Ar term Op Ar cmd Op Ar args... -.Sh DESCRIPTION -.Nm -opens a tty device, prompts for a login name and by default -invokes the /bin/login program. You can start another program instead of -/bin/login via -.Ar cmd -with -.Ar args . -The hostname is printed in the login name prompt as well. The -.Ar tty -should be specified using an absolute path. -.Sh SEE ALSO -.Xr login 1 -\ No newline at end of filediff --git a/share/man/man8/halt.8 b/share/man/man8/halt.8@@ -1,21 +0,0 @@ -.Dd February 2, 2015 -.Dt HALT 8 -.Os ubase -.Sh NAME -.Nm halt -.Nd power-off or reboot the machine -.Sh SYNOPSIS -.Nm -.Op Fl pr -.Sh DESCRIPTION -.Nm -can be used to power-off or reboot the machine. -This is a low-level tool and should not be used directly or data-loss -can happen if the filesystems are not properly unmounted first. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl p -Power-off the machine. -.It Fl r -Reboot the machine. -.Eldiff --git a/share/man/man8/hwclock.8 b/share/man/man8/hwclock.8@@ -1,31 +0,0 @@ -.Dd February 2, 2015 -.Dt HWCLOCK 8 -.Os ubase -.Sh NAME -.Nm hwclock -.Nd query or set the hardware clock -.Sh SYNOPSIS -.Nm -.Op Fl r | Fl s | Fl w -.Op Fl u -.Op Ar dev -.Sh DESCRIPTION -.Nm -is a tool for accessing the hardware clock. You can display the current time, -set the hardware clock from the System Time, or set the System Time from the -hardware clock. It currently only works with UTC. You can use -.Ar dev -to specify the RTC device node absolute path. By default -it will use -.Pa /dev/rtc . -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl r -Read the hardware clock and print the time on stdout. -.It Fl s -Set the system time from the hardware clock. -.It Fl u -Use UTC. This is the default option. -.It Fl w -Set the hardware clock to the system time. -.Eldiff --git a/share/man/man8/insmod.8 b/share/man/man8/insmod.8@@ -1,18 +0,0 @@ -.Dd February 2, 2015 -.Dt INSMOD 8 -.Os ubase -.Sh NAME -.Nm insmod -.Nd insert a module into the Linux kernel -.Sh SYNOPSIS -.Nm -.Ar filename -.Op Ar args... -.Sh DESCRIPTION -.Nm -inserts the module specified by -.Ar filename -into the kernel. It does not handle module dependencies. -.Sh SEE ALSO -.Xr lsmod 8 , -.Xr rmmod 8 -\ No newline at end of filediff --git a/share/man/man8/killall5.8 b/share/man/man8/killall5.8@@ -1,31 +0,0 @@ -.Dd February 2, 2015 -.Dt KILLALL5 8 -.Os ubase -.Sh NAME -.Nm killall5 -.Nd send a signal to all processes -.Sh SYNOPSIS -.Nm -.Op Fl o Ar pid1,pid2,...,pidN -.Op Fl s Ar signal -.Sh DESCRIPTION -.Nm -is an implementation of the SystemV -.Xr killall 8 -command. It sends a signal to all processes except kernel threads and the -processes in its own session. It is primarily used by the system's init -scripts. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl o -Tell -.Nm -to omit processes with that process id. -.It Fl s Ar signal -Send -.Ar signal -instead of the default SIGTERM. -.El -.Sh SEE ALSO -.Xr halt 8 , -.Xr reboot 8diff --git a/share/man/man8/lastlog.8 b/share/man/man8/lastlog.8@@ -1,18 +0,0 @@ -.Dd February 2, 2015 -.Dt LASTLOG 8 -.Os ubase -.Sh NAME -.Nm lastlog -.Nd show last login of users -.Sh SYNOPSIS -.Nm -.Op Ar user... -.Sh DESCRIPTION -.Nm -shows the time, tty and host (if it was a remote connection) of the last -login of the users. If one or more -.Ar user -names are passed as a parameter then information about the last login of these -users are shown, otherwise the users in -.Pa /etc/passwd -will be used and shown in order of appearance.diff --git a/share/man/man8/lsmod.8 b/share/man/man8/lsmod.8@@ -1,13 +0,0 @@ -.Dd February 2, 2015 -.Dt LSMOD 8 -.Os ubase -.Sh NAME -.Nm lsmod -.Nd list loaded kernel modules -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -parses -.Pa /proc/modules -and shows the loadable kernel modules that are currently loaded.diff --git a/share/man/man8/lsusb.8 b/share/man/man8/lsusb.8@@ -1,13 +0,0 @@ -.Dd February 2, 2015 -.Dt LSUSB 8 -.Os ubase -.Sh NAME -.Nm lsusb -.Nd list USB devices -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -searches in -.Pa /sys/bus/usb/devices -for USB's and connected devices and prints them one by one. -\ No newline at end of filediff --git a/share/man/man8/mkswap.8 b/share/man/man8/mkswap.8@@ -1,19 +0,0 @@ -.Dd February 2, 2015 -.Dt MKSWAP 8 -.Os ubase -.Sh NAME -.Nm mkswap -.Nd set up a Linux swap area -.Sh SYNOPSIS -.Nm -.Ar device -.Sh DESCRIPTION -.Nm -sets up a Linux swap area on a device or in a file. The -.Ar device -argument will usually be a disk-partition but it can also be a file. After -creating the swap area you will typically need to use the -.Xr swapon 8 -command to start using it. -.Sh SEE ALSO -.Xr swapon 8diff --git a/share/man/man8/mount.8 b/share/man/man8/mount.8@@ -1,61 +0,0 @@ -.Dd February 2, 2015 -.Dt MOUNT 8 -.Os ubase -.Sh NAME -.Nm mount -.Nd mount a filesystem -.Sh SYNOPSIS -.Nm -.Op Fl BMRan -.Op Fl o Ar options -.Op Fl t Ar fstype -.Op Ar source -.Op Ar target -.Sh DESCRIPTION -.Nm -attaches the filesystem specified to the filesystem hierarchy. The -.Xr umount 8 -command will detach it again. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl B -Remount a subtree somewhere else (so that its contents are visible in both -places). -.It Fl M -Move a subtree to some other place. -.It Fl R -Remount a subtree and all possible submounts somewhere else (so that its -contents are available in both places). -.It Fl a -Mount all filesystems mentioned in -.Pa /etc/fstab . -.It Fl n -Mount without writing in -.Pa /etc/mtab . -This is the default action. -.It Fl o Ar options -Specify a comma separated string of filesystem specific options. -.It Fl t Ar fstype -Set the filesystem type. More than one type may be specified in a comma -separated list. The list of file system types can be prefixed with "no" to -specify the file system types for which action should not be taken. For -example, the -.Nm -command: -.Bd -literal -# mount -a -t nonfs,ext4 - -.Ed -mounts all file systems except those of type NFS and EXT4. -.Nm -will attempt to execute a program in your -.Ev PATH -mount.XXX where XXX is replaced by the type name. For example, NFS file -systems are mounted by the program -.Pa mount.nfs . -.El -.Sh SEE ALSO -.Xr mount 2 , -.Xr umount 2 , -.Xr swapon 8 , -.Xr umount 8diff --git a/share/man/man8/nologin.8 b/share/man/man8/nologin.8@@ -1,21 +0,0 @@ -.Dd March 26, 2016 -.Dt NOLOGIN 8 -.Os ubase -.Sh NAME -.Nm nologin -.Nd refuse login -.Sh SYNOPSIS -.Nm -.Sh DESCRIPTION -.Nm -prints a message informing the user that she -is not allowed to log in. If /etc/nologin.txt -exists, its content is printed instead of -the default message. -.Pp -.Nm -is intended to be specified as the user's -default shell. -.Sh EXIT STATUS -.Nm -returns a status code indicating failure.diff --git a/share/man/man8/pivot_root.8 b/share/man/man8/pivot_root.8@@ -1,17 +0,0 @@ -.Dd February 2, 2015 -.Dt PIVOT_ROOT 8 -.Os ubase -.Sh NAME -.Nm pivot_root -.Nd change the root filesystem -.Sh SYNOPSIS -.Nm -.Ar newroot putold -.Sh DESCRIPTION -.Nm -moves the root file system of the current process to the -directory -.Ar put_old -and makes -.Ar new_root -the new root file system.diff --git a/share/man/man8/readahead.8 b/share/man/man8/readahead.8@@ -1,15 +0,0 @@ -.Dd February 2, 2015 -.Dt READAHEAD 8 -.Os ubase -.Sh NAME -.Nm preload -.Nd preload files into disk cache -.Sh SYNOPSIS -.Nm -.Ar file... -.Sh DESCRIPTION -.Nm -preloads files into the kernel's disk cache. The number of pages preloaded -depends on the kernel but it is usually around 2MB. -.Sh SEE ALSO -.Xr readahead 2diff --git a/share/man/man8/rmmod.8 b/share/man/man8/rmmod.8@@ -1,33 +0,0 @@ -.Dd February 2, 2015 -.Dt RMMOD 8 -.Os ubase -.Sh NAME -.Nm rmmod -.Nd remove a module from the Linux kernel -.Sh SYNOPSIS -.Nm -.Op Fl fw -.Ar module... -.Sh DESCRIPTION -.Nm -removes one or more modules from the kernel. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl f -This option can be extremely dangerous: it has no effect unless -CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled. -With this option, you can remove modules which are being used, or -which are not designed to be removed, or have been marked as unsafe. -.It Fl w -Normally, -.Nm -will refuse to unload modules which are in -use. With this option, -.Nm -will isolate the module, and wait until the module is no longer used. Noone -new will be able to use the module, but it's up to you to make sure the -current users eventually finish with it. -.El -.Sh SEE ALSO -.Xr insmod 8 , -.Xr lsmod 8 -\ No newline at end of filediff --git a/share/man/man8/swaplabel.8 b/share/man/man8/swaplabel.8@@ -1,18 +0,0 @@ -.Dd February 2, 2015 -.Dt SWAPLABEL 8 -.Os ubase -.Sh NAME -.Nm swaplabel -.Nd set the label of a swap filesystem -.Sh SYNOPSIS -.Nm -.Op Fl L Ar label -.Ar device -.Sh DESCRIPTION -.Nm -is used to change the label of a swap device or file. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl L Ar label -Change the label. -.Eldiff --git a/share/man/man8/swapoff.8 b/share/man/man8/swapoff.8@@ -1,17 +0,0 @@ -.Dd February 2, 2015 -.Dt SWAPOFF 8 -.Os ubase -.Sh NAME -.Nm swapoff -.Nd disable devices and files for paging and swapping -.Sh SYNOPSIS -.Nm -.Fl a | Ar device -.Sh DESCRIPTION -.Nm -disables swapping on the specified devices and files. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl a -Disable swapping on all known swap devices and files as found in /etc/fstab. -.Eldiff --git a/share/man/man8/swapon.8 b/share/man/man8/swapon.8@@ -1,24 +0,0 @@ -.Dd February 2, 2015 -.Dt SWAPON 8 -.Os ubase -.Sh NAME -.Nm swapon -.Nd enable devices and files for paging and swapping -.Sh SYNOPSIS -.Nm -.Op Fl dp -.Fl a | Ar device -.Sh DESCRIPTION -.Nm -is used to specify devices on which paging and swapping are to take place. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl a -Make all devices marked as ``swap'' in -.Pa /etc/fstab -available, except for those with the ``noauto'' option. -.It Fl d -Discard freed swap pages before they are reused. -.It Fl p -Set higher priority than the default to the new swap area. -.Eldiff --git a/share/man/man8/switch_root.8 b/share/man/man8/switch_root.8@@ -1,31 +0,0 @@ -.Dd February 2, 2015 -.Dt SWITCH_ROOT 8 -.Os ubase -.Sh NAME -.Nm switch_root -.Nd switch to another filesystem as the root of the mount tree -.Sh SYNOPSIS -.Nm -.Op Fl c Ar console -.Ar newroot init -.Sh DESCRIPTION -.Nm -removes all files and directories on the current root filesystem and -overmounts it with -.Ar newroot . -If a -.Ar console -is specified, redirect stdio and stderr to it. After the switch, execute -.Ar init . -.Pp -.Nm -can only be run as PID 1 in an initramfs or tmpfs with a regular and -executable /sbin/init. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl c -Redirect stdio and stderr to -.Ar console -after switching to -.Ar newroot . -.Eldiff --git a/share/man/man8/sysctl.8 b/share/man/man8/sysctl.8@@ -1,24 +0,0 @@ -.Dd February 2, 2015 -.Dt SYSCTL 8 -.Os ubase -.Sh NAME -.Nm sysctl -.Nd configure kernel parameters at runtime -.Sh SYNOPSIS -.Nm -.Op Fl p Ar file -.Ar variable Ns Oo Ar =value Oc Ns ... -.Sh DESCRIPTION -.Nm -modifies kernel parameters at runtime. The parameters available are those -listed under -.Pa /proc/sys/ . -Procfs is required for sysctl support in Linux. You can use -.Nm -to both read and write sysctl data. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl p -Load the sysctl key=value pairs from -.Ar file . -.Eldiff --git a/share/man/man8/umount.8 b/share/man/man8/umount.8@@ -1,40 +0,0 @@ -.Dd February 2, 2015 -.Dt UMOUNT 8 -.Os ubase -.Sh NAME -.Nm umount -.Nd unmount file systems -.Sh SYNOPSIS -.Nm -.Op Fl fln -.Ar target... -.Nm -.Op Fl fln -.Fl a -.Sh DESCRIPTION -.Nm -detaches the -.Ar target -filesystem(s). A file system is specified by giving the directory where it -has been mounted. Giving the special device on which the file system -lives may also work, but is obsolete, mainly because it will fail in -case this device was mounted on more than one directory. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl a -All of the file systems described in -.Pa /proc/mounts -are unmounted. The proc filesystem is not unmounted. -.It Fl f -Force unmount (in case of an unreachable NFS server). -.It Fl l -Lazy unmount. Detach the filesystem from the fs hierarchy now, and cleanup -all references to the filesystem as soon as it is not busy anymore. -.It Fl n -Unmount without writing in -.Pa /etc/mtab . -This is the default action. -.El -.Sh SEE ALSO -.Xr umount 2 , -.Xr mount 8