logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git
commit: b261030ba516cb43e61241a7aaaecdcd17329633
parent 55666b689062ecf6e051fe6f24583b7b4566e208
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  7 Sep 2024 14:49:10 +0200

oasis 883afcd7b3

Diffstat:

M.perms1-
Abin/[2++
Abin/arch0
Abin/base640
Abin/basename0
Dbin/blkdiscard0
Abin/cat0
Abin/chgrp2++
Abin/chmod0
Abin/chown0
Abin/chroot0
Dbin/chvt0
Abin/cksum0
Dbin/clear0
Abin/cmp0
Dbin/ctrlaltdel0
Abin/cut0
Abin/date0
Mbin/df0
Abin/dirname0
Dbin/dmesg0
Abin/echo0
Dbin/eject0
Abin/env0
Abin/expr0
Dbin/fallocate0
Abin/false0
Dbin/free0
Dbin/freeramdisk0
Dbin/fsfreeze0
Dbin/getty0
Dbin/halt0
Abin/head0
Dbin/hwclock0
Mbin/id0
Dbin/insmod0
Abin/install0
Abin/join0
Dbin/killall50
Dbin/last0
Dbin/lastlog0
Abin/link0
Abin/ln0
Dbin/login0
Abin/logname0
Dbin/lsmod0
Dbin/lsusb0
Dbin/mesg0
Abin/mkdir0
Abin/mkfifo0
Abin/mknod0
Dbin/mkswap0
Abin/mktemp0
Dbin/mount0
Dbin/mountpoint0
Abin/mv0
Abin/nice0
Abin/nohup0
Dbin/nologin0
Abin/nproc0
Dbin/pagesize0
Dbin/passwd0
Abin/pathchk0
Dbin/pidof0
Dbin/pivot_root0
Abin/printf0
Dbin/ps0
Abin/pwd0
Dbin/pwdx0
Dbin/readahead0
Abin/readlink2++
Abin/realpath0
Dbin/respawn0
Abin/rm0
Abin/rmdir0
Dbin/rmmod0
Abin/seq0
Abin/sha1sum0
Abin/sleep0
Abin/split0
Dbin/stat0
Abin/strings0
Dbin/stty0
Dbin/swaplabel0
Dbin/swapoff0
Dbin/swapon0
Dbin/switch_root0
Abin/sync0
Dbin/sysctl0
Abin/tee0
Abin/test0
Abin/time0
Abin/touch0
Abin/tr0
Abin/true0
Mbin/truncate0
Abin/tty0
Dbin/umount0
Abin/uname0
Abin/uniq0
Abin/unlink0
Dbin/unshare0
Dbin/uptime0
Dbin/vmstat0
Dbin/vtallow0
Dbin/watch0
Abin/wc0
Abin/which0
Dbin/who0
Abin/yes0
Dshare/man/man1/chvt.115---------------
Dshare/man/man1/clear.111-----------
Dshare/man/man1/df.127---------------------------
Dshare/man/man1/dmesg.128----------------------------
Dshare/man/man1/eject.125-------------------------
Dshare/man/man1/fallocate.133---------------------------------
Dshare/man/man1/free.125-------------------------
Dshare/man/man1/id.129-----------------------------
Dshare/man/man1/login.127---------------------------
Dshare/man/man1/mesg.127---------------------------
Dshare/man/man1/mountpoint.132--------------------------------
Dshare/man/man1/pagesize.113-------------
Dshare/man/man1/passwd.115---------------
Dshare/man/man1/pidof.125-------------------------
Dshare/man/man1/ps.129-----------------------------
Dshare/man/man1/pwdx.113-------------
Dshare/man/man1/respawn.133---------------------------------
Dshare/man/man1/stat.124------------------------
Dshare/man/man1/truncate.137-------------------------------------
Dshare/man/man1/unshare.158----------------------------------------------------------
Dshare/man/man1/uptime.116----------------
Dshare/man/man1/vtallow.121---------------------
Dshare/man/man1/watch.127---------------------------
Dshare/man/man1/who.128----------------------------
Dshare/man/man8/blkdiscard.812------------
Dshare/man/man8/ctrlaltdel.831-------------------------------
Dshare/man/man8/freeramdisk.814--------------
Dshare/man/man8/fsfreeze.833---------------------------------
Dshare/man/man8/getty.823-----------------------
Dshare/man/man8/halt.821---------------------
Dshare/man/man8/hwclock.831-------------------------------
Dshare/man/man8/insmod.819-------------------
Dshare/man/man8/killall5.831-------------------------------
Dshare/man/man8/lastlog.818------------------
Dshare/man/man8/lsmod.813-------------
Dshare/man/man8/lsusb.814--------------
Dshare/man/man8/mkswap.819-------------------
Dshare/man/man8/mount.861-------------------------------------------------------------
Dshare/man/man8/nologin.821---------------------
Dshare/man/man8/pivot_root.817-----------------
Dshare/man/man8/readahead.815---------------
Dshare/man/man8/rmmod.834----------------------------------
Dshare/man/man8/swaplabel.818------------------
Dshare/man/man8/swapoff.817-----------------
Dshare/man/man8/swapon.824------------------------
Dshare/man/man8/switch_root.831-------------------------------
Dshare/man/man8/sysctl.824------------------------
Dshare/man/man8/umount.840----------------------------------------
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 etc diff --git a/bin/[ b/bin/[ @@ -0,0 +1 @@ +test +\ No newline at end of file diff --git a/bin/arch b/bin/arch Binary files differ. diff --git a/bin/base64 b/bin/base64 Binary files differ. diff --git a/bin/basename b/bin/basename Binary files differ. diff --git a/bin/blkdiscard b/bin/blkdiscard Binary files differ. diff --git a/bin/cat b/bin/cat Binary files differ. diff --git a/bin/chgrp b/bin/chgrp @@ -0,0 +1 @@ +chown +\ No newline at end of file diff --git a/bin/chmod b/bin/chmod Binary files differ. diff --git a/bin/chown b/bin/chown Binary files differ. diff --git a/bin/chroot b/bin/chroot Binary files differ. diff --git a/bin/chvt b/bin/chvt Binary files differ. diff --git a/bin/cksum b/bin/cksum Binary files differ. diff --git a/bin/clear b/bin/clear Binary files differ. diff --git a/bin/cmp b/bin/cmp Binary files differ. diff --git a/bin/ctrlaltdel b/bin/ctrlaltdel Binary files differ. diff --git a/bin/cut b/bin/cut Binary files differ. diff --git a/bin/date b/bin/date Binary files differ. diff --git a/bin/df b/bin/df Binary files differ. diff --git a/bin/dirname b/bin/dirname Binary files differ. diff --git a/bin/dmesg b/bin/dmesg Binary files differ. diff --git a/bin/echo b/bin/echo Binary files differ. diff --git a/bin/eject b/bin/eject Binary files differ. diff --git a/bin/env b/bin/env Binary files differ. diff --git a/bin/expr b/bin/expr Binary files differ. diff --git a/bin/fallocate b/bin/fallocate Binary files differ. diff --git a/bin/false b/bin/false Binary files differ. diff --git a/bin/free b/bin/free Binary files differ. diff --git a/bin/freeramdisk b/bin/freeramdisk Binary files differ. diff --git a/bin/fsfreeze b/bin/fsfreeze Binary files differ. diff --git a/bin/getty b/bin/getty Binary files differ. diff --git a/bin/halt b/bin/halt Binary files differ. diff --git a/bin/head b/bin/head Binary files differ. diff --git a/bin/hwclock b/bin/hwclock Binary files differ. diff --git a/bin/id b/bin/id Binary files differ. diff --git a/bin/insmod b/bin/insmod Binary files differ. diff --git a/bin/install b/bin/install Binary files differ. diff --git a/bin/join b/bin/join Binary files differ. diff --git a/bin/killall5 b/bin/killall5 Binary files differ. diff --git a/bin/last b/bin/last Binary files differ. diff --git a/bin/lastlog b/bin/lastlog Binary files differ. diff --git a/bin/link b/bin/link Binary files differ. diff --git a/bin/ln b/bin/ln Binary files differ. diff --git a/bin/login b/bin/login Binary files differ. diff --git a/bin/logname b/bin/logname Binary files differ. diff --git a/bin/lsmod b/bin/lsmod Binary files differ. diff --git a/bin/lsusb b/bin/lsusb Binary files differ. diff --git a/bin/mesg b/bin/mesg Binary files differ. diff --git a/bin/mkdir b/bin/mkdir Binary files differ. diff --git a/bin/mkfifo b/bin/mkfifo Binary files differ. diff --git a/bin/mknod b/bin/mknod Binary files differ. diff --git a/bin/mkswap b/bin/mkswap Binary files differ. diff --git a/bin/mktemp b/bin/mktemp Binary files differ. diff --git a/bin/mount b/bin/mount Binary files differ. diff --git a/bin/mountpoint b/bin/mountpoint Binary files differ. diff --git a/bin/mv b/bin/mv Binary files differ. diff --git a/bin/nice b/bin/nice Binary files differ. diff --git a/bin/nohup b/bin/nohup Binary files differ. diff --git a/bin/nologin b/bin/nologin Binary files differ. diff --git a/bin/nproc b/bin/nproc Binary files differ. diff --git a/bin/pagesize b/bin/pagesize Binary files differ. diff --git a/bin/passwd b/bin/passwd Binary files differ. diff --git a/bin/pathchk b/bin/pathchk Binary files differ. diff --git a/bin/pidof b/bin/pidof Binary files differ. diff --git a/bin/pivot_root b/bin/pivot_root Binary files differ. diff --git a/bin/printf b/bin/printf Binary files differ. diff --git a/bin/ps b/bin/ps Binary files differ. diff --git a/bin/pwd b/bin/pwd Binary files differ. diff --git a/bin/pwdx b/bin/pwdx Binary files differ. diff --git a/bin/readahead b/bin/readahead Binary files differ. diff --git a/bin/readlink b/bin/readlink @@ -0,0 +1 @@ +realpath +\ No newline at end of file diff --git a/bin/realpath b/bin/realpath Binary files differ. diff --git a/bin/respawn b/bin/respawn Binary files differ. diff --git a/bin/rm b/bin/rm Binary files differ. diff --git a/bin/rmdir b/bin/rmdir Binary files differ. diff --git a/bin/rmmod b/bin/rmmod Binary files differ. diff --git a/bin/seq b/bin/seq Binary files differ. diff --git a/bin/sha1sum b/bin/sha1sum Binary files differ. diff --git a/bin/sleep b/bin/sleep Binary files differ. diff --git a/bin/split b/bin/split Binary files differ. diff --git a/bin/stat b/bin/stat Binary files differ. diff --git a/bin/strings b/bin/strings Binary files differ. diff --git a/bin/stty b/bin/stty Binary files differ. diff --git a/bin/swaplabel b/bin/swaplabel Binary files differ. diff --git a/bin/swapoff b/bin/swapoff Binary files differ. diff --git a/bin/swapon b/bin/swapon Binary files differ. diff --git a/bin/switch_root b/bin/switch_root Binary files differ. diff --git a/bin/sync b/bin/sync Binary files differ. diff --git a/bin/sysctl b/bin/sysctl Binary files differ. diff --git a/bin/tee b/bin/tee Binary files differ. diff --git a/bin/test b/bin/test Binary files differ. diff --git a/bin/time b/bin/time Binary files differ. diff --git a/bin/touch b/bin/touch Binary files differ. diff --git a/bin/tr b/bin/tr Binary files differ. diff --git a/bin/true b/bin/true Binary files differ. diff --git a/bin/truncate b/bin/truncate Binary files differ. diff --git a/bin/tty b/bin/tty Binary files differ. diff --git a/bin/umount b/bin/umount Binary files differ. diff --git a/bin/uname b/bin/uname Binary files differ. diff --git a/bin/uniq b/bin/uniq Binary files differ. diff --git a/bin/unlink b/bin/unlink Binary files differ. diff --git a/bin/unshare b/bin/unshare Binary files differ. diff --git a/bin/uptime b/bin/uptime Binary files differ. diff --git a/bin/vmstat b/bin/vmstat Binary files differ. diff --git a/bin/vtallow b/bin/vtallow Binary files differ. diff --git a/bin/watch b/bin/watch Binary files differ. diff --git a/bin/wc b/bin/wc Binary files differ. diff --git a/bin/which b/bin/which Binary files differ. diff --git a/bin/who b/bin/who Binary files differ. diff --git a/bin/yes b/bin/yes Binary 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. -.El diff --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. -.El diff --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. -.El diff --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 2 diff --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 file diff --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 1 diff --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. -.El diff --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 1 diff --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 8 diff --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 file diff --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 8 diff --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. -.El diff --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 file diff --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 2 diff --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 file diff --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 2 diff --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 5 diff --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 1 diff --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. -.El diff --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 8 diff --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 file diff --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 file diff --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. -.El diff --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. -.El diff --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 file diff --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 8 diff --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 file diff --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 8 diff --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 8 diff --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 2 diff --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 file diff --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. -.El diff --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. -.El diff --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. -.El diff --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 . -.El diff --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 . -.El diff --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