diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2002-06-07 04:53:21 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2002-06-07 04:53:21 +0000 |
commit | 18836590b1d6422364c515e69c6ac806131b6cea (patch) | |
tree | 668cf93031addb3da41f535a5136bf3b752b2594 /usr.sbin | |
parent | 53d683104a2dbd18abce262398d823307485152b (diff) |
New buildsystem reordered a bit, so these go away; bye bye
Diffstat (limited to 'usr.sbin')
24 files changed, 0 insertions, 2668 deletions
diff --git a/usr.sbin/afs/Applflags.inc b/usr.sbin/afs/Applflags.inc deleted file mode 100644 index a9d0cfbb2ee..00000000000 --- a/usr.sbin/afs/Applflags.inc +++ /dev/null @@ -1,14 +0,0 @@ -LDADD += -lkrb5 -lkrb -lcrypto ../libarla/libarla.a -ltermcap \ - ../libroken/libroken.a -lreadline -lcurses -lkafs -lasn1 \ - -lcom_err -ldes -DPADD += ../libroken/libroken.a ../libarla/libarla.a ${LIBKRB} ${LIBDES} \ - ${LIBREADLINE} ${LIBTERMCAP} ${LIBCURSES} ${LIBKAFS} \ - ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} -CFLAGS += -I${.CURDIR}/../src/util -I${.CURDIR}/../src/lib/roken \ - -I${.CURDIR}/../src/include -I${.CURDIR}/../libroken \ - -I${.CURDIR}/../src/rxdef -I${.CURDIR}/../src/lwp -I../libarla \ - -I${.CURDIR}/../src/arlad -I${.CURDIR}/../src \ - -I${.CURDIR}/../src/lib/ko -I${.CURDIR}/../src/rxkad \ - -I${.CURDIR}/../src/lib/sl -I${DESTDIR}/usr/include/kerberosIV \ - -I. - diff --git a/usr.sbin/afs/afsd/CellServDB.5 b/usr.sbin/afs/afsd/CellServDB.5 deleted file mode 100644 index 4d805c6b86b..00000000000 --- a/usr.sbin/afs/afsd/CellServDB.5 +++ /dev/null @@ -1,30 +0,0 @@ -.\" $OpenBSD: CellServDB.5,v 1.1 2000/04/27 22:49:05 hin Exp $ -.Dd April 19, 2000 -.Dt CellServDB 5 -.Os -.Sh NAME -.Nm CellServDB -.Nd AFS cells and database servers -.Sh DESCRIPTION -The file -.Nm -lists AFS cells known to the local AFS cache manager. -Each entry describes the name of an AFS cell and specifies the -servers for that cell. -.Pp -Here is an example of the format of an entry in the file: -.Bd -literal ->cellname # Freetext comment describing the cell -ip-address #first.server.for.cell -ip-address #second.server.for.cell -ip-adresss #third.server.for.cell -.Ed -.Pp -.Nm -is read when -.Nm afsd -is started, normally when the system boots. -.Sh FILES -.Pa /etc/afs/CellServDB -.Sh SEE ALSO -.Xr afsd 8
\ No newline at end of file diff --git a/usr.sbin/afs/afsd/Makefile b/usr.sbin/afs/afsd/Makefile deleted file mode 100644 index 7afc0dbdd41..00000000000 --- a/usr.sbin/afs/afsd/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# $OpenBSD: Makefile,v 1.5 2000/09/11 14:40:26 art Exp $ -PROG = afsd -MAN = afsd.8 CellServDB.5 ThisCell.5 SuidCells.5 -BINDIR = /usr/libexec -SRCS = adir.c arla.c arladeb.c cmcb.c conn.c cred.c darla.c discon_log.c \ - fcache.c fprio.c inter.c kernel.c messages.c reconnect.c \ - volcache.c bsd-subr.c arladeb2.c dynroot.c xfs.c subr.c -CLEANFILES += fbuf.h fdir.h afs_dir.h - -.include "../Applflags.inc" - -.PATH: ${.CURDIR}/../src/arlad - -fbuf.h: - ln -s ${.CURDIR}/../src/lib/bufdir/fbuf.h -fdir.h: - ln -s ${.CURDIR}/../src/lib/bufdir/fdir.h -afs_dir.h: - ln -s ${.CURDIR}/../src/lib/bufdir/afs_dir.h - -beforedepend: fbuf.h afs_dir.h fdir.h - -.include <bsd.prog.mk> diff --git a/usr.sbin/afs/afsd/SuidCells.5 b/usr.sbin/afs/afsd/SuidCells.5 deleted file mode 100644 index 8c09c778915..00000000000 --- a/usr.sbin/afs/afsd/SuidCells.5 +++ /dev/null @@ -1,16 +0,0 @@ -.\" $OpenBSD: SuidCells.5,v 1.1 2000/04/27 23:02:14 hin Exp $ -.Dd April 19, 2000 -.Dt SuidCells 5 -.Os -.Sh NAME -.Nm SuidCells -.Nd lists AFS cells for which the setuid bit is honored -.Sh DESCRIPTION -The setuid bit on binaries executed from within AFS are ignored -for the cells that are not listed in -.Nm -.Sh SEE ALSO -.Xr afsd 8 , -.Xr CellServDB 5 - - diff --git a/usr.sbin/afs/afsd/ThisCell.5 b/usr.sbin/afs/afsd/ThisCell.5 deleted file mode 100644 index c5e5314a463..00000000000 --- a/usr.sbin/afs/afsd/ThisCell.5 +++ /dev/null @@ -1,24 +0,0 @@ -.\" $OpenBSD: ThisCell.5,v 1.2 2000/04/27 22:57:37 hin Exp $ -.Dd April 19, 2000 -.Dt ThisCell 5 -.Os -.Sh NAME -.Nm ThisCell -.Nd specify a hosts home AFS cell -.Sh DESCRIPTION -The file -.Nm -specifies which cell the AFS cache manager belongs to. This affects the -default cell to use for commands such as -.Xr pts 1 , -.Xr fs 1 , -.Xr vos 8 , -.Xr kauth 1 , -.Xr kinit 1 , -.Xr afslog 1 , -but other cells can still be used. -It also affects where the cache manager reads the root of afs, so having -good connectivity to the default cell is very important. -.Sh SEE ALSO -.Xr afsd 8 , -.Xr CellServDB 5 diff --git a/usr.sbin/afs/afsd/afsd.8 b/usr.sbin/afs/afsd/afsd.8 deleted file mode 100644 index b964d676b38..00000000000 --- a/usr.sbin/afs/afsd/afsd.8 +++ /dev/null @@ -1,157 +0,0 @@ -.\" $OpenBSD: afsd.8,v 1.10 2000/04/27 23:04:36 hin Exp $ -.\" -.Dd September 5, 1998 -.Dt AFSD 8 -.Os -.Sh NAME -.Nm afsd -.Nd AFS cache manager for xfs -.Sh SYNOPSIS -.Nm afsd -.Op Fl t | Fl -test -.Oo Fl c Ar string \*(Ba Xo -.Fl -conffile= Ns Ar string Oc -.Xc -.Oo Fl l Ar string \*(Ba Xo -.Fl -log= Ns Ar string Oc -.Xc -.Op Fl -debug= Ns Ar string -.Oo Fl d Ar string \*(Ba Xo -.Fl -device= Ns Ar string Oc -.Xc -.Op Fl -connected-mode= Ns Ar string -.Op Fl n | Fl -no-fork -.Oo Fl r Ar string \*(Ba Xo -.Fl -rxkad-level= Ns Ar string Oc -.Xc -.Oo Fl s Ar string \*(Ba Xo -.Fl -sysname= Ns Ar string Oc -.Xc -.Op Fl -root-volume= Ns Ar string -.Op Fl -port= Ns Ar number -.Op Fl z | Fl -recover -.Op Fl -cache-dir= Ns Ar string -.Op Fl -version -.Op Fl -help -.Op Ar device -.Sh DESCRIPTION -.Nm -runs on AFS client machines. -It is used to manage the file cache, fetch files -from AFS servers, handle callbacks and manage the authentication information -for users. -In normal cases you will not need to run it by yourself. -It is automatically started when -.Xr mount_xfs 8 -is run. -.Pp -The options are as follows: -.Bl -tag -width Ds -.It Xo -.Fl t Ns , -.Fl -test -.Xc -Run in test mode. -.It Xo -.Fl c Ar string Ns , -.Fl -conffile= Ns Ar string -.Xc -Path to configuration file -.Po default: Pa /etc/afs/afsd.conf -.Pc . -.It Xo -.Fl l Ar string Ns , -.Fl -log= Ns Ar string -.Xc -Where to write log [stderr|syslog|path] (default: stderr). -.It Xo -.Fl -debug= Ns Ar string -.Xc -What to write in the log (default: none). -.It Xo -.Fl d Ar string Ns , -.Fl -device= Ns Ar string -.Xc -The XFS device to use -.Po default: Pa /dev/xfs0 -.Pc . -.It Xo -.Fl -connected-mode= Ns Ar string -.Xc -Initial connected mode [conncted|fetch-only|disconnected]. -.It Xo -.Fl n Ns , -.Fl -no-fork -.Xc -Don't fork and daemonize. -.It Xo -.Fl r Ar string Ns , -.Fl -rxkad-level= Ns Ar string -.Xc -The rxkad level to use [clear|auth|crypt] (default: auth). -.It Xo -.Fl s Ar string Ns , -.Fl -sysname= Ns Ar string -.Xc -Set the sysname of this system. -.It Xo -.Fl -root-volume= Ns Ar string -.Xc -Name of the root volume. -.It Xo -.Fl -port= Ns Ar number -.Xc -Port number to use. -.It Xo -.Fl z Ns , -.Fl -recover -.Xc -Don't recover state. -.It Xo -.Fl -cache-dir= Ns Ar string -.Xc -Cache directory -.Po default: Pa /var/spool/afs -.Pc . -.It Xo -.Fl -version -.Xc -Print version information. -.It Xo -.Fl -help -.Xc -Print usage information. -.El -.Sh FILES -.Bl -tag -width /etc/afs/CellServDB -compact -.It Pa /etc/afs/afsd.conf -default configuration for afsd -.It Pa /etc/afs/CellServDB -database with all known AFS servers -.It Pa /etc/afs/ThisCell -our default cell (where we get the root directory) -.It Pa /var/spool/afs -default cache directory -.El -.Pp -It is highly recommended that the default cache directory be a separate -file system. -When enough memory is available this could be a mfs to -drastically improve performance. -.Sh SEE ALSO -.Xr afsd 8 , -.Xr mount_xfs 8 , -.Xr vos 8 , -.Xr fs 1 , -.Xr pts 1 , -.Xr CellServDB 5 , -.Xr ThisCell 5 , -.Xr SuidCells 5 -.Sh BUGS -This code is still in the experimental stage and some bugs are present. -If -.Nm -happens to crash, it's recommended to restart it with the -.Fl z -flag. -Otherwise a corrupted cache can be reused. diff --git a/usr.sbin/afs/fs/Makefile b/usr.sbin/afs/fs/Makefile deleted file mode 100644 index 350087e4023..00000000000 --- a/usr.sbin/afs/fs/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -PROG = fs -BINDIR = /usr/sbin -LDADD += -lkafs -DPADD += ${LIBKAFS} - -.include "../Applflags.inc" - -SRCS = fs.c -.PATH: ${.CURDIR}/../src/appl/fs - -SRCS += arladeb.c arlalib.c fs_lib.c -CFLAGS += -I${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/arlad - -.include <bsd.prog.mk> diff --git a/usr.sbin/afs/fs/fs.1 b/usr.sbin/afs/fs/fs.1 deleted file mode 100644 index b2a3ad79821..00000000000 --- a/usr.sbin/afs/fs/fs.1 +++ /dev/null @@ -1,652 +0,0 @@ -.Dd March 29, 2000 -.Dt FS 1 -.Os -.Sh NAME -.Nm fs -.Nd Manage AFS directories -.Sh SYNOPSIS -.Nm -.Op Ar command -.Op Ar args -.Sh DESCRIPTION -The -.Nm -utility is used to manipulate the AFS filesystem. -Note that the -.Nm -utility does -.Em not -modify the traditional -.Ux -filesystem, only files in AFS. -.Pp -The -.Nm -utility provides several commands: -.Pp -.Bl -tag -width setmaxpriority -compact -.It Cm apropos -locate commands by keyword -.It Cm arladebug -tweek arla-debugging flags -.It Cm checkservers -check if servers are up -.It Cm checkvolumes -not yet implemented -.It Cm cleanacl -not yet implemented -.It Cm copyacl -not yet implemented -.It Cm diskfree -show free partition space -.It Cm examine -examine volume status -.It Cm flush -remove file from cache -.It Cm flushvolume -remove volumedata (and files in volume) from cache -.It Cm gcpags -garbage collect pags -.It Cm getcacheparms -get cache usage -.It Cm getcrypt -get encrypt status -.It Cm getcellstatus -get suid cell status -.It Cm getfid -get fid -.It Cm getserverprefs -not yet implemented -.It Cm getpriority -get priority of a file/dir -.It Cm gp -shorthand for the -.Cm getpriority -command -.It Cm getmaxpriority -get max priority for a file gc -.It Cm gmp -shorthand for the -.Cm getmaxpriority -command -.It Cm help -get help for -.Nm -.It Cm listacl -show acl -.It Cm la -shorthand for the -.Cm listacl -command -.It Cm listcells -list cells that the cache handler can communicate with -.It Cm listquota -show volume quota -.It Cm lq -shorthand for the -.Cm listquota -command -.It Cm quota -shorthand for the -.Cm listquota -command -.It Cm lsmount -show a mount point -.It Cm messages -not yet implemented -.It Cm mkmount -create mount point -.It Cm connect -connect mode -.It Cm monitor -set remote logging host -.It Cm newcell -add new cell -.It Cm nop -do a pioctl-nop -.It Cm quit -leave interactive mode -.It Cm exit -leave interactive mode -.It Cm rmmount -delete a mount point -.It Cm removepriority -remove priority from file/directory -.It Cm rmp -shorthand for the -.Cm removepriority -command -.It Cm setacl -add an acl entry on a directory -.It Cm sa -shorthand for the -.Cm setacl -command -.It Cm setcachesize -change disk cache size -.It Cm setcell -change cell status -.It Cm setpriority -set priority of a file/directory -.It Cm sp -shorthand for the -.Cm setpriority -command -.It Cm setmaxpriority -set upper limit of prio gc -.It Cm smq -shorthand for the -.Cm setmaxpriority -comand -.It Cm setquota -change quota on a volume -.It Cm sq -shorthand for the -.Cm setquota -command -.It Cm setserverprefs -not yet implemented -.It Cm setcrypt -set encryption on/off -.It Cm setvol -not yet implemented -.It Cm suidcells -list status of cells -.It Cm sysname -read/change sysname -.It Cm version -get version of fs and fs_lib -.It Cm venuslog -make arlad print status -.It Cm whereis -show server(s) of file -.It Cm whichcell -show cell of file -.It Cm wscell -display cell of workstation -.It Cm xfsdebug -tweek xfs-debugging flags -.It Cm xfsprint -make xfs print debug info -.El -.Pp -Most -.Nm -commands accept the following general arguments: -.Pp -.Bd -filled -offset indent -compact -.Op Fl cell Ar cellname -Specifies which AFS cell to use, if the default cell is not to be used. -.Pp -.Op Fl noauth -Specifies that -.Nm -should not try to authenticate the connection to the server. -This may be -useful with shell scripts, or if there is a problem with the AFS cell. -Note that the server will reject many commands if -.Fl noauth -is specified. -.Pp -.Ed -The syntax of the -.Nm -commands: -.Pp -.Ic fs apropos -.Bd -filled -offset indent -compact -Locate commands by keyword -.Ed -.Pp -.Ic fs arladebug -.Op Ar flags -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Tweek arla-debugging flags. -.Ed -.Pp -.Ic fs checkservers -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl nopoll -.Bd -filled -offset indent -compact -Check if the server in a cell are up. -If -.Fl nopoll -is specified, the servers are not contactad; only internal information is -printed. -.Ed -.Pp -.Ic fs checkvolumes -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs cleanacl -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs copyacl -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs diskfree -.Ar path -.Bd -filled -offset indent -compact -show free partition space -.Ed -.Pp -.Ic fs examine -.Op Ar path -.Bd -filled -offset indent -compact -Print detailed information about the volume mounted on the specified path -or the current directory. -.Ed -.Pp -.Ic fs flush -.Ar path -.Bd -filled -offset indent -compact -Flush the file specified, causing it to be stored on the fileserver. -.Ed -.Pp -.Ic fs flushvolume -.Ar path -.Bd -filled -offset indent -compact -Flush all the files in the volume where the file specified is stored, -causing them to be stored on the fileserver. -Meta information about the volume is also flushed. -.Ed -.Pp -.Ic fs gcpags -.Bd -filled -offset indent -compact -Remove unused PAGs from the kernel. -.Ed -.Pp -.Ic fs getcacheparms -.Bd -filled -offset indent -compact -Print information about cache usage. -.Ed -.Pp -.Ic fs getcrypt -.Bd -filled -offset indent -compact -Display wether traffic between the client and server is encrypted. -.Ed -.Pp -.Ic fs getcellstatus -.Ar cellname -.Bd -filled -offset indent -compact -Indicate if setuid files are enabled for the specified cell. -.Ed -.Pp -.Ic fs getfid -.Ar path -.Bd -filled -offset indent -compact -Print fid information for a file. -.Ed -.Pp -.Ic fs getserverprefs -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs getpriority -.Bd -filled -offset indent -compact -Display priority of a file or directory. -.Ed -.Pp -.Ic fs gp -.Bd -filled -offset indent -compact -shorthand for the -.Cm getpriority -command -.Ed -.Pp -.Ic fs getmaxpriority -.Bd -filled -offset indent -compact -Display max priority for a file. -.Ed -.Pp -.Ic fs gmp -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Shorthand for the -.Cm getmaxpriority -command. -.Ed -.Pp -.Ic fs help -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Get help for -.Nm -.Ed -.Pp -.Ic fs listacl -.Ar path -.Bd -filled -offset indent -compact -Show acl for the specified path or the current directory. -.Ed -.Pp -.Ic fs la -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Shorthand for the -.Cm listacl -command. -.Ed -.Pp -.Ic fs listcells -.Bd -filled -offset indent -compact -List cells that the cache handler can communicate with. -These are the cells listed in the file -.Pa /etc/afs/CellServDB . -.Ed -.Pp -.Ic fs listquota -.Op Ar path -.Bd -filled -offset indent -compact -Show the quota for the volume of the file or directory specified. -.Ed -.Pp -.Ic fs lq -.Bd -filled -offset indent -compact -shorthand for the -.Cm listquota -command -.Ed -.Pp -.Ic fs quota -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Shorthand for the -.Ic listquota -command. -.Ed -.Pp -.Ic fs lsmount -.Bd -filled -offset indent -compact -.Ar path -Show a mount point. -.Ed -.Pp -.Ic fs messages -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs mkmount -.Ar directory -.Ar volume -.Bd -filled -offset indent -compact -Create a mountpoint. -Note that the there must not exist a directory named as -the mount point you are creating. -.Ed -.Pp -.Ic fs connect -.Op Ar mode -.Bd -filled -offset indent -compact -Set or get connected mode, if a mode is specified, the cache manager will be -set to that mode. -If not, the current mode will be printed. -Valid modes are: -.Bl -tag -width -Fl -compact -.It Cm connected -Connected mode - this is the normal operating mode. -.It Cm fetch -Fetch only mode - files are retreived from fileserver but are not stored back. -.It Cm disconnected -Disconnected mode - files are read and written from/to the cache, and no -attempt is made to contact a fileserver- -.El -.Pp -Disconnected mode is very useful for machines that are not connected to -the network at all times, such as laptops. -Disconnected mode is to be considered very experimental at this stage. -.Ed -.Pp -.Ic fs monitor -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs newcell -.Fl cell Ar cellname -.Fl servers Ar vldb-servers -.Op Fl help -.Bd -filled -offset indent -compact -Add a new cell to the running configuration of the cache manager, or update -already existing information. -This information should also be entered in the file -.Pa /etc/afs/CellServDB . -.Ed -.Pp -.Ic fs nop -.Bd -filled -offset indent -compact -Do a pioctl-nop. -This is useful for debugging. -.Ed -.Pp -.Ic fs quit -.Bd -filled -offset indent -compact -Leave interactive mode. -.Ed -.Pp -.Ic fs exit -.Bd -filled -offset indent -compact -Leave interactive mode. -.Ed -.Pp -.Ic fs rmmount -.Ar mountpoint -.Bd -filled -offset indent -compact -Delete a mount point. -.Ed -.Pp -.Ic fs removepriority -.Ar file -.Bd -filled -offset indent -compact -Remove priority from file/directory. -.Ed -.Pp -.Ic fs rmp -.Bd -filled -offset indent -compact -Shorthand for the -.Cm removepriority -command. -.Ed -.Pp -.Ic fs setacl -.Bd -filled -offset indent -compact -Add an acl entry on a directory. -Each entry consists of two components: -a user or group and a character string describing the permissions granted -for that user or group. -These characters and the permission they represent are: -.Bl -tag -width Fl -compact -.It Cm r -read the files -.It Cm l -list the files -.It Cm i -insert new files -.It Cm d -delete files -.It Cm w -write (change) the files -.It Cm k -lock files -.It Cm a -administer the acl, that is, to change the acl -.El -.Pp -There are also a few convinience strings recognized by -.Ic fs setacl : -.Bl -tag -width Fl -compact -.It Cm none -removes all permissions. -.It Cm read -adds 'rl' permissions, which are suitable for a read-only directory. -.It Cm write -adds all permissions except 'a', that is, the user/group can read, write, -delete etc. but not change the acl of the directory. -.It Cm all -add all permissions. -.El -.Pp -Note that in AFS you set the permissions on a directory, and the permissions -of a file are those of their directory. -So, if you move a file from one -directory to another, you might change the permission of the file, as -the two directories may have different permissions. -.Pp -Of the traditional -.Ux -permission bits only the user part is honored, and is used for any -user permissioned by the directories acl. -The group and world permission bits are ignored, but they are stored. -.Ed -.Pp -.Ic fs sa -.Bd -filled -offset indent -compact -shorthand for the -.Cm setacl -command -.Ed -.Pp -.Ic fs setcachesize -.Ar lowvnodes -.Op Ar highvnodes Ar lowbytes Ar highbytes -.Bd -filled -offset indent -compact -Set the size of the disk cache. -.Ed -.Pp -.Ic fs setcell -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs setpriority -.Ar file -.Ar priority -.Bd -filled -offset indent -compact -Set priority of a file/directory. -.Ed -.Pp -.Ic fs sp -.Bd -filled -offset indent -compact -Shorthand for the -.Cm setpriority -command. -.Ed -.Pp -.Ic fs setmaxpriority -.Ar macprio -.Bd -filled -offset indent -compact -Set upper limit of priority. -.Ed -.Pp -.Ic fs smq -.Bd -filled -offset indent -compact -shorthand for the -.Cm setmaxpriority -comand -.Ed -.Pp -.Ic fs setquota -.Ar path -.Ar quota -.Bd -filled -offset indent -compact -Set the quota (in Kbytes) on a volume. -.Ed -.Pp -.Ic fs sq -.Bd -filled -offset indent -compact -Shorthand for the -.Cm setquota -command. -.Ed -.Pp -.Ic fs setserverprefs -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs setcrypt -.Ar flag -.Bd -filled -offset indent -compact -If 'no' is specified, encryption of the traffic to/from fileservers is -disabled, and if 'yes' is specified, it is enabled. -.Ed -.Pp -.Ic fs setvol -.Bd -filled -offset indent -compact -Not implemented yet. -.Ed -.Pp -.Ic fs suidcells -.Bd -filled -offset indent -compact -Print cells and wether setuid execution is allowed for them. -.Ed -.Pp -.Ic fs sysname -.Op Ar sysname -.Bd -filled -offset indent -compact -Get or set the value of the '@sys' value. -.Ed -.Pp -.Ic fs version -.Bd -filled -offset indent -compact -Print version of fs and fs_lib. -.Ed -.Pp -.Ic fs venuslog -.Bd -filled -offset indent -compact -Make afsd print status. -.Ed -.Pp -.Ic fs whereis -.Op Ar path -.Bd -filled -offset indent -compact -Show server(s) of the specified file or the current directory. -.Ed -.Pp -.Ic fs whichcell -.Op Ar path -.Bd -filled -offset indent -compact -Show cell of a file or the current directory. -.Ed -.Pp -.Ic fs wscell -.Bd -filled -offset indent -compact -Display default cell of the client. -.Ed -.Pp -.Ic fs xfsdebug -.Bd -filled -offset indent -compact -Tweek xfs-debugging flags -.Ed -.Pp -.Ic fs xfsprint -.Op Ar flags -.Bd -filled -offset indent -compact -Make xfs print debug info. -.Ed -.Sh SEE ALSO -.Xr afsd 8 , -.Xr pts 1 , -.Xr vos 8 -.Sh STANDARDS -The Arla authors are trying to mimic the behaviour of the original AFS -utilities. -.Sh AUTHORS -The Arla project <http://www.stacken.kth.se/project/arla/>. -.Sh BUGS -Some commands are not implemented yet. diff --git a/usr.sbin/afs/libarla/Makefile b/usr.sbin/afs/libarla/Makefile deleted file mode 100644 index d4e76fb465b..00000000000 --- a/usr.sbin/afs/libarla/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# $OpenBSD: Makefile,v 1.4 2001/05/31 15:56:13 todd Exp $ - -# -# You don't want to understand this makefile. -# - -LIB = arla -NOPIC = -NOPROFILE= -MAN = - -CFLAGS += -DHAVE_CONFIG_H -I${.CURDIR}/../src/include -I. \ - -I${.CURDIR}/../src/lib/roken -I${.CURDIR}/../src/util \ - -I${.CURDIR}/../src -I${.CURDIR}/../libroken - -# XXX Until an egcs bug gets fixed -.if (${MACHINE_ARCH} == "alpha") -CFLAGS += -O0 -.endif - -.include "Makefile.lwp.inc" -.include "Makefile.rx.inc" -.include "Makefile.rxdef.inc" -.include "Makefile.rxkad.inc" -.include "Makefile.ko.inc" -.include "Makefile.bufdir.inc" - -.include <bsd.lib.mk> diff --git a/usr.sbin/afs/libarla/Makefile.bufdir.inc b/usr.sbin/afs/libarla/Makefile.bufdir.inc deleted file mode 100644 index b98a8a7856a..00000000000 --- a/usr.sbin/afs/libarla/Makefile.bufdir.inc +++ /dev/null @@ -1,4 +0,0 @@ -### bufdir stuff -SRCS += fdir.c fbuf.c -CFLAGS += -I${.CURDIR}/../src/lib/bufdir -.PATH: ${.CURDIR}/../src/lib/bufdir diff --git a/usr.sbin/afs/libarla/Makefile.ko.inc b/usr.sbin/afs/libarla/Makefile.ko.inc deleted file mode 100644 index b6e3f3b6d0d..00000000000 --- a/usr.sbin/afs/libarla/Makefile.ko.inc +++ /dev/null @@ -1,15 +0,0 @@ -### ko stuff -OS_VER != uname -r - -SRCS += koerror.c kocell.c ports.c vlmisc.c part.c -SRCS += sysname.c -CLEANFILES += sysname.c gensysname -CFLAGS += -I${.CURDIR}/../src/lib/ko - -.PATH: ${.CURDIR}/../src/lib/ko - -sysname.c: gensysname - ./gensysname -c > sysname.c - -gensysname: gensysname.c - ${CC} ${CFLAGS} -o gensysname ${.CURDIR}/../src/lib/ko/gensysname.c ../libroken/libroken.a diff --git a/usr.sbin/afs/libarla/Makefile.lwp.inc b/usr.sbin/afs/libarla/Makefile.lwp.inc deleted file mode 100644 index 76938f25cd7..00000000000 --- a/usr.sbin/afs/libarla/Makefile.lwp.inc +++ /dev/null @@ -1,36 +0,0 @@ -### lwp stuff -SRCS += lwp.c lock.c iomgr.c timer.c fasttime.c preempt.c q.c -OBJS += process.o -CLEANFILES += process.S process.o lwp.c lwp.h -.PATH: ${.CURDIR}/../src/lwp -CFLAGS += -DAFS_BSD_ENV -DFD_SPEED_HACK -I${.CURDIR}/../src/lwp - -# We use the handcoded assembler stuff for context switching, not -# pthreads (because pthreads do not work for now). - -beforedepend: lwp.c lwp.h - -lwp.h: - ln -s ${.CURDIR}/../src/lwp/lwp_asm.h lwp.h -lwp.c: - ln -s ${.CURDIR}/../src/lwp/lwp_asm.c lwp.c - -process.S: - HOST_CPU=${MACHINE_ARCH}; \ - case "$$HOST_CPU" in \ - sparc64) PROCESS_S="process.sparc.S" ;; \ - sparc) PROCESS_S="process.sparc.S" ;; \ - i*86*) PROCESS_S="process.i386.S" ;; \ - m68k) PROCESS_S="process.m68k.S" ;; \ - mips*) PROCESS_S="process.mips.S" ;; \ - alpha*) PROCESS_S="process.alpha.S" ;; \ - hppa*) PROCESS_S="process.hpux.S" ;; \ - powerpc) PROCESS_S="process.ppc.S" ;; \ - rs6000) PROCESS_S="process.rios.S" ;; \ - vax) PROCESS_S="process.vax.S" ;; \ - *) echo "Unknown host_cpu, good luck" ;; \ - esac; \ - ln -s ${.CURDIR}/../src/lwp/$$PROCESS_S process.S - -process.o: process.S - ${CC} ${CFLAGS} -DHAVE_PIC -c process.S diff --git a/usr.sbin/afs/libarla/Makefile.rx.inc b/usr.sbin/afs/libarla/Makefile.rx.inc deleted file mode 100644 index 51076d702f5..00000000000 --- a/usr.sbin/afs/libarla/Makefile.rx.inc +++ /dev/null @@ -1,5 +0,0 @@ -### rx stuff -SRCS += rx_clock.c rx_event.c rx_user.c rx.c rx_globs.c rx_null.c \ - rx_misc.c rx_pkt.c rx_rdwr.c rx_multi.c rx_trace.c -CFLAGS += -I${.CURDIR}/../src/rx -.PATH: ${.CURDIR}/../src/rx diff --git a/usr.sbin/afs/libarla/Makefile.rxdef.inc b/usr.sbin/afs/libarla/Makefile.rxdef.inc deleted file mode 100644 index b66b49247b9..00000000000 --- a/usr.sbin/afs/libarla/Makefile.rxdef.inc +++ /dev/null @@ -1,43 +0,0 @@ -### rxdef stuff -## No, cb.ss.c is _not_ a mistake. The _client_ is the callback server. -SRCS += vldb.cs.c fs.cs.c cb.ss.c pts.cs.c \ - volumeserver.cs.c ubik.cs.c bos.cs.c - -CLEANFILES += vldb.ss.c vldb.cs.c vldb.ydr.c vldb.ss.h vldb.cs.h vldb.h \ - fs.ss.c fs.cs.c fs.ydr.c fs.cs.h fs.ss.h fs.h \ - cb.ss.c cb.cs.c cb.ydr.c cb.cs.h cb.ss.h cb.h \ - pts.ss.c pts.cs.c pts.ydr.c pts.cs.h pts.ss.h pts.h \ - volumeserver.ss.c volumeserver.cs.c volumeserver.ydr.c \ - volumeserver.ss.h volumeserver.cs.h volumeserver.h \ - ubik.ss.c ubik.cs.c ubik.ydr.c ubik.cs.h ubik.ss.h ubik.h \ - bos.ss.c bos.cs.c bos.ydr.c bos.cs.h bos.ss.h bos.h \ - vldb.td.c fs.td.c cb.td.c pts.td.c volumeserver.td.c \ - ubik.td.c bos.td.c - -CFLAGS += -I${.CURDIR}/../src/rxdef -I${.CURDIR}/../src/arlad - -YDR = ../ydr/ydr -YDRFLAGS = -I${.CURDIR} -.PATH: ${.CURDIR}/../src/rxdef - -vldb.cs.c vldb.cs.h vldb.ss.c vldb.ss.h vldb.ydr.c vldb.h: vldb.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/vldb.xg - -fs.cs.c fs.cs.h fs.ss.c fs.ss.h fs.ydr.c fs.h: fs.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/fs.xg - -cb.cs.c cb.cs.h cb.ss.c cb.ss.h cb.ydr.c cb.h: cb.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/cb.xg - -pts.cs.c pts.cs.h pts.ss.c pts.ss.h pts.ydr.c pts.h: pts.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/pts.xg - -volumeserver.cs.c volumeserver.cs.h volumeserver.ss.c volumeserver.ss.h volumeserver.ydr.c volumeserver.h: volumeserver.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/volumeserver.xg - -ubik.cs.c ubik.cs.h ubik.ss.c ubik.ss.h ubik.ydr.c ubik.h: ubik.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/ubik.xg - -bos.cs.c bos.cs.h bos.ss.c bos.ss.h bos.ydr.c bos.h: bos.xg - $(YDR) $(YDRFLAGS) ${.CURDIR}/../src/rxdef/bos.xg - diff --git a/usr.sbin/afs/libarla/Makefile.rxkad.inc b/usr.sbin/afs/libarla/Makefile.rxkad.inc deleted file mode 100644 index d39a79c0fec..00000000000 --- a/usr.sbin/afs/libarla/Makefile.rxkad.inc +++ /dev/null @@ -1,7 +0,0 @@ -### rxkad stuff -SRCS += rxk_locl.c rxk_clnt.c rxk_serv.c rxk_crpt.c rxk_info.c \ - osi_alloc.c compat.c - -CFLAGS += -I${.CURDIR}/../src/rxkad -I${DESTDIR}/usr/include/kerberosIV - -.PATH: ${.CURDIR}/../src/rxkad diff --git a/usr.sbin/afs/libroken/Makefile b/usr.sbin/afs/libroken/Makefile deleted file mode 100644 index 97400fb3b0a..00000000000 --- a/usr.sbin/afs/libroken/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $OpenBSD: Makefile,v 1.5 2001/01/31 06:53:42 art Exp $ -LIB = roken -# roken stuff -SRCS = copy_basename.c base64.c emalloc.c eefile.c efile.c estrdup.c \ - getarg.c k_getpwuid.c k_getpwnam.c signal.c tm2time.c verify.c \ - inaddr2str.c mini_inetd.c get_window_size.c warnerr.c snprintf.c \ - parse_units.c strnlen.c strupr.c strlwr.c strmatch.c \ - erealloc.c str2inaddr.c - -# util stuff -SRCS += hash.c heap.c list.c log.c mmaptime.c - -# sl stuff -SRCS += sl.c - -CFLAGS += -DHAVE_CONFIG_H -I${.CURDIR}/../src/lib/roken \ - -I${.CURDIR}/../src/util -I${.CURDIR}/../src/include \ - -I${.CURDIR}/../src/lib/sl - -NOPROFILE= -NOPIC= - -.PATH: ${.CURDIR}/../src/lib/roken -.PATH: ${.CURDIR}/../src/util -.PATH: ${.CURDIR}/../src/lib/sl - -.include <bsd.lib.mk> diff --git a/usr.sbin/afs/libroken/atypes.h b/usr.sbin/afs/libroken/atypes.h deleted file mode 100644 index 95e4246b280..00000000000 --- a/usr.sbin/afs/libroken/atypes.h +++ /dev/null @@ -1,11 +0,0 @@ -/* $OpenBSD: atypes.h,v 1.1 1998/09/14 21:53:31 art Exp $ */ -/* atypes.h -- this file was generated for i386-unknown-openbsd2.3 by - $KTH: bits.c,v 1.4 1998/03/28 09:24:30 lha Exp $ */ - -#ifndef __atypes_h__ -#define __atypes_h__ - -#include <sys/types.h> -#include <inttypes.h> - -#endif /* __atypes_h__ */ diff --git a/usr.sbin/afs/libroken/config.h b/usr.sbin/afs/libroken/config.h deleted file mode 100644 index aa8a53346de..00000000000 --- a/usr.sbin/afs/libroken/config.h +++ /dev/null @@ -1,846 +0,0 @@ -/* include/config.h. Generated automatically by configure. */ -/* include/config.h.in. Generated automatically from configure.in by autoheader. */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -/* Define as __inline if that's what the C compiler calls it. */ -/* #undef inline */ - -/* Define as the return type of signal handlers (int or void). */ -#define RETSIGTYPE void - -/* Define if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define if you can safely include both <sys/time.h> and <time.h>. */ -#define TIME_WITH_SYS_TIME 1 - -/* Define if the X Window System is missing or not being used. */ -/* #undef X_DISPLAY_MISSING */ - -/* Define this if we can include both sys/dir.h and dirent.h */ -#define USE_SYS_DIR_H 1 - -/* Define this if RETSIGTYPE == void */ -/* #undef VOID_RETSIGTYPE */ - -/* Define this if struct winsize is declared in sys/termios.h */ -#define HAVE_STRUCT_WINSIZE 1 - -/* Define this if struct msghdr is declared in sys/socket.h */ -#define HAVE_STRUCT_MSGHDR 1 - -/* Define this if struct iovec is declared in sys/uio.h */ -#define HAVE_STRUCT_IOVEC 1 - -/* Define this if struct winsize have ws_xpixel */ -#define HAVE_WS_XPIXEL 1 - -/* Define this if struct winsize have ws_ypixel */ -#define HAVE_WS_YPIXEL 1 - -/* Define this if `struct sockaddr' includes sa_len */ -#define SOCKADDR_HAS_SA_LEN 1 - -/* define if the system is missing a prototype for strtok_r() */ -/* #undef NEED_STRTOK_R_PROTO */ - -/* define if you have h_errno */ -#define HAVE_H_ERRNO 1 - -/* define if you have h_errlist but not hstrerror */ -#define HAVE_H_ERRLIST 1 - -/* define if you have h_nerr but not hstrerror */ -#define HAVE_H_NERR 1 - -/* define if your system has a declaration for h_errlist */ -/* #undef HAVE_H_ERRLIST_DECLARATION */ - -/* define if your system has a declaration for h_nerr */ -/* #undef HAVE_H_NERR_DECLARATION */ - -/* define if your system has a declaration for h_errno */ -#define HAVE_H_ERRNO_DECLARATION 1 - -/* define if your system has optreset */ -#define HAVE_OPTRESET 1 - -/* define if your system has a declaration for optreset */ -#define HAVE_OPTRESET_DECLARATION 1 - -/* define if your compiler has __FUNCTION__ */ -#define HAVE___FUNCTION__ 1 - -/* define if your compiler has __attribute__ */ -#define HAVE___ATTRIBUTE__ 1 - -/* Check if select need a prototype */ -/* #undef NEED_SELECT_PROTO */ - -/* Define if you have the FOUR_ARGUMENT_VFS_BUSY function. */ -#define HAVE_FOUR_ARGUMENT_VFS_BUSY 1 - -/* Define if you have the FOUR_ARGUMENT_VFS_OBJECT_CREATE function. */ -/* #undef HAVE_FOUR_ARGUMENT_VFS_OBJECT_CREATE */ - -/* Define if you have the ONE_ARGUMENT_VOP_LOCK function. */ -/* #undef HAVE_ONE_ARGUMENT_VOP_LOCK */ - -/* Define if you have the THREE_ARGUMENT_VFS_BUSY function. */ -/* #undef HAVE_THREE_ARGUMENT_VFS_BUSY */ - -/* Define if you have the THREE_ARGUMENT_VGET function. */ -#define HAVE_THREE_ARGUMENT_VGET 1 - -/* Define if you have the THREE_ARGUMENT_VOP_LOCK function. */ -#define HAVE_THREE_ARGUMENT_VOP_LOCK 1 - -/* Define if you have the TWO_ARGUMENT_VFS_GETNEWFSID function. */ -/* #undef HAVE_TWO_ARGUMENT_VFS_GETNEWFSID */ - -/* Define if you have the TWO_ARGUMENT_VGET function. */ -/* #undef HAVE_TWO_ARGUMENT_VGET */ - -/* Define if you have the TWO_ARGUMENT_VOP_LOCK function. */ -/* #undef HAVE_TWO_ARGUMENT_VOP_LOCK */ - -/* Define if you have the asnprintf function. */ -/* #undef HAVE_ASNPRINTF */ - -/* Define if you have the asprintf function. */ -#define HAVE_ASPRINTF 1 - -/* Define if you have the chown function. */ -#define HAVE_CHOWN 1 - -/* Define if you have the daemon function. */ -#define HAVE_DAEMON 1 - -/* Define if you have the dbm_firstkey function. */ -#define HAVE_DBM_FIRSTKEY 1 - -/* Define if you have the dn_expand function. */ -#define HAVE_DN_EXPAND 1 - -/* Define if you have the el_init function. */ -#define HAVE_EL_INIT 1 - -/* Define if you have the err function. */ -#define HAVE_ERR 1 - -/* Define if you have the errx function. */ -#define HAVE_ERRX 1 - -/* Define if you have the fchown function. */ -#define HAVE_FCHOWN 1 - -/* Define if you have the fcntl function. */ -#define HAVE_FCNTL 1 - -/* Define if you have the flock function. */ -#define HAVE_FLOCK 1 - -/* Define if you have the getcwd function. */ -#define HAVE_GETCWD 1 - -/* Define if you have the getdtablesize function. */ -#define HAVE_GETDTABLESIZE 1 - -/* Define if you have the gethostbyname function. */ -#define HAVE_GETHOSTBYNAME 1 - -/* Define if you have the getopt function. */ -#define HAVE_GETOPT 1 - -/* Define if you have the getpagesize function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define if you have the getrlimit function. */ -#define HAVE_GETRLIMIT 1 - -/* Define if you have the getspnam function. */ -/* #undef HAVE_GETSPNAM */ - -/* Define if you have the getspuid function. */ -/* #undef HAVE_GETSPUID */ - -/* Define if you have the getusershell function. */ -#define HAVE_GETUSERSHELL 1 - -/* Define if you have the getvfsbyname function. */ -/* #undef HAVE_GETVFSBYNAME */ - -/* Define if you have the hstrerror function. */ -#define HAVE_HSTRERROR 1 - -/* Define if you have the inet_aton function. */ -#define HAVE_INET_ATON 1 - -/* Define if you have the initgroups function. */ -#define HAVE_INITGROUPS 1 - -/* Define if you have the kvm_nlist function. */ -#define HAVE_KVM_NLIST 1 - -/* Define if you have the kvm_open function. */ -#define HAVE_KVM_OPEN 1 - -/* Define if you have the lstat function. */ -#define HAVE_LSTAT 1 - -/* Define if you have the memmove function. */ -#define HAVE_MEMMOVE 1 - -/* Define if you have the mkstemp function. */ -#define HAVE_MKSTEMP 1 - -/* Define if you have the mktime function. */ -#define HAVE_MKTIME 1 - -/* Define if you have the putenv function. */ -#define HAVE_PUTENV 1 - -/* Define if you have the rcmd function. */ -#define HAVE_RCMD 1 - -/* Define if you have the readline function. */ -#define HAVE_READLINE 1 - -/* Define if you have the readv function. */ -#define HAVE_READV 1 - -/* Define if you have the recvmsg function. */ -#define HAVE_RECVMSG 1 - -/* Define if you have the res_search function. */ -#define HAVE_RES_SEARCH 1 - -/* Define if you have the sendmsg function. */ -#define HAVE_SENDMSG 1 - -/* Define if you have the setegid function. */ -#define HAVE_SETEGID 1 - -/* Define if you have the setenv function. */ -#define HAVE_SETENV 1 - -/* Define if you have the seteuid function. */ -#define HAVE_SETEUID 1 - -/* Define if you have the setregid function. */ -#define HAVE_SETREGID 1 - -/* Define if you have the setresuid function. */ -/* #undef HAVE_SETRESUID */ - -/* Define if you have the setreuid function. */ -#define HAVE_SETREUID 1 - -/* Define if you have the setsid function. */ -#define HAVE_SETSID 1 - -/* Define if you have the setsockopt function. */ -#define HAVE_SETSOCKOPT 1 - -/* Define if you have the snprintf function. */ -#define HAVE_SNPRINTF 1 - -/* Define if you have the socket function. */ -#define HAVE_SOCKET 1 - -/* Define if you have the strcasecmp function. */ -#define HAVE_STRCASECMP 1 - -/* Define if you have the strdup function. */ -#define HAVE_STRDUP 1 - -/* Define if you have the strerror function. */ -#define HAVE_STRERROR 1 - -/* Define if you have the strftime function. */ -#define HAVE_STRFTIME 1 - -/* Define if you have the strlwr function. */ -/* #undef HAVE_STRLWR */ - -/* Define if you have the strnlen function. */ -/* #undef HAVE_STRNLEN */ - -/* Define if you have the strsep function. */ -#define HAVE_STRSEP 1 - -/* Define if you have the strtok_r function. */ -/* #undef HAVE_STRTOK_R */ - -/* Define if you have the strupr function. */ -/* #undef HAVE_STRUPR */ - -/* Define if you have the sysconf function. */ -#define HAVE_SYSCONF 1 - -/* Define if you have the sysctl function. */ -#define HAVE_SYSCTL 1 - -/* Define if you have the syslog function. */ -#define HAVE_SYSLOG 1 - -/* Define if you have the tgetent function. */ -#define HAVE_TGETENT 1 - -/* Define if you have the thr_yield function. */ -/* #undef HAVE_THR_YIELD */ - -/* Define if you have the unsetenv function. */ -#define HAVE_UNSETENV 1 - -/* Define if you have the vasnprintf function. */ -/* #undef HAVE_VASNPRINTF */ - -/* Define if you have the vasprintf function. */ -#define HAVE_VASPRINTF 1 - -/* Define if you have the verr function. */ -#define HAVE_VERR 1 - -/* Define if you have the verrx function. */ -#define HAVE_VERRX 1 - -/* Define if you have the vfsisloadable function. */ -/* #undef HAVE_VFSISLOADABLE */ - -/* Define if you have the vfsload function. */ -/* #undef HAVE_VFSLOAD */ - -/* Define if you have the vsnprintf function. */ -#define HAVE_VSNPRINTF 1 - -/* Define if you have the vsyslog function. */ -#define HAVE_VSYSLOG 1 - -/* Define if you have the vwarn function. */ -#define HAVE_VWARN 1 - -/* Define if you have the vwarnx function. */ -#define HAVE_VWARNX 1 - -/* Define if you have the warn function. */ -#define HAVE_WARN 1 - -/* Define if you have the warnx function. */ -#define HAVE_WARNX 1 - -/* Define if you have the writev function. */ -#define HAVE_WRITEV 1 - -/* Define if you have the <arpa/inet.h> header file. */ -#define HAVE_ARPA_INET_H 1 - -/* Define if you have the <arpa/nameser.h> header file. */ -#define HAVE_ARPA_NAMESER_H 1 - -/* Define if you have the <asm/smp_lock.h> header file. */ -/* #undef HAVE_ASM_SMP_LOCK_H */ - -/* Define if you have the <asm/smplock.h> header file. */ -/* #undef HAVE_ASM_SMPLOCK_H */ - -/* Define if you have the <crypt.h> header file. */ -/* #undef HAVE_CRYPT_H */ - -/* Define if you have the <dbm.h> header file. */ -#define HAVE_DBM_H 1 - -/* Define if you have the <dirent.h> header file. */ -#define HAVE_DIRENT_H 1 - -/* Define if you have the <errno.h> header file. */ -#define HAVE_ERRNO_H 1 - -/* Define if you have the <fcntl.h> header file. */ -#define HAVE_FCNTL_H 1 - -/* Define if you have the <grp.h> header file. */ -#define HAVE_GRP_H 1 - -/* Define if you have the <inttypes.h> header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define if you have the <ktypes.h> header file. */ -/* #undef HAVE_KTYPES_H */ - -/* Define if you have the <kvm.h> header file. */ -#define HAVE_KVM_H 1 - -/* Define if you have the <libelf/nlist.h> header file. */ -/* #undef HAVE_LIBELF_NLIST_H */ - -/* Define if you have the <linux/devfs_fs.h> header file. */ -/* #undef HAVE_LINUX_DEVFS_FS_H */ - -/* Define if you have the <linux/modversions.h> header file. */ -/* #undef HAVE_LINUX_MODVERSIONS_H */ - -/* Define if you have the <linux/types.h> header file. */ -/* #undef HAVE_LINUX_TYPES_H */ - -/* Define if you have the <machine/alpha/asm.h> header file. */ -/* #undef HAVE_MACHINE_ALPHA_ASM_H */ - -/* Define if you have the <machine/asm.h> header file. */ -#define HAVE_MACHINE_ASM_H 1 - -/* Define if you have the <machine/regdef.h> header file. */ -/* #undef HAVE_MACHINE_REGDEF_H */ - -/* Define if you have the <miscfs/genfs/genfs.h> header file. */ -/* #undef HAVE_MISCFS_GENFS_GENFS_H */ - -/* Define if you have the <ndbm.h> header file. */ -#define HAVE_NDBM_H 1 - -/* Define if you have the <netdb.h> header file. */ -#define HAVE_NETDB_H 1 - -/* Define if you have the <netinet/in.h> header file. */ -#define HAVE_NETINET_IN_H 1 - -/* Define if you have the <netinet/in6.h> header file. */ -/* #undef HAVE_NETINET_IN6_H */ - -/* Define if you have the <netinet/in6_machtypes.h> header file. */ -/* #undef HAVE_NETINET_IN6_MACHTYPES_H */ - -/* Define if you have the <netinet6/in6.h> header file. */ -/* #undef HAVE_NETINET6_IN6_H */ - -/* Define if you have the <nlist.h> header file. */ -#define HAVE_NLIST_H 1 - -/* Define if you have the <paths.h> header file. */ -#define HAVE_PATHS_H 1 - -/* Define if you have the <pwd.h> header file. */ -#define HAVE_PWD_H 1 - -/* Define if you have the <regdef.h> header file. */ -/* #undef HAVE_REGDEF_H */ - -/* Define if you have the <resolv.h> header file. */ -#define HAVE_RESOLV_H 1 - -/* Define if you have the <rpcsvc/dbm.h> header file. */ -/* #undef HAVE_RPCSVC_DBM_H */ - -/* Define if you have the <shadow.h> header file. */ -/* #undef HAVE_SHADOW_H */ - -/* Define if you have the <sys/bitypes.h> header file. */ -/* #undef HAVE_SYS_BITYPES_H */ - -/* Define if you have the <sys/cdefs.h> header file. */ -#define HAVE_SYS_CDEFS_H 1 - -/* Define if you have the <sys/filedesc.h> header file. */ -#define HAVE_SYS_FILEDESC_H 1 - -/* Define if you have the <sys/ioccom.h> header file. */ -#define HAVE_SYS_IOCCOM_H 1 - -/* Define if you have the <sys/ioctl.h> header file. */ -#define HAVE_SYS_IOCTL_H 1 - -/* Define if you have the <sys/lkm.h> header file. */ -#define HAVE_SYS_LKM_H 1 - -/* Define if you have the <sys/mman.h> header file. */ -#define HAVE_SYS_MMAN_H 1 - -/* Define if you have the <sys/module.h> header file. */ -/* #undef HAVE_SYS_MODULE_H */ - -/* Define if you have the <sys/mount.h> header file. */ -#define HAVE_SYS_MOUNT_H 1 - -/* Define if you have the <sys/param.h> header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define if you have the <sys/poll.h> header file. */ -#define HAVE_SYS_POLL_H 1 - -/* Define if you have the <sys/proc.h> header file. */ -#define HAVE_SYS_PROC_H 1 - -/* Define if you have the <sys/queue.h> header file. */ -#define HAVE_SYS_QUEUE_H 1 - -/* Define if you have the <sys/resource.h> header file. */ -#define HAVE_SYS_RESOURCE_H 1 - -/* Define if you have the <sys/select.h> header file. */ -#define HAVE_SYS_SELECT_H 1 - -/* Define if you have the <sys/socket.h> header file. */ -#define HAVE_SYS_SOCKET_H 1 - -/* Define if you have the <sys/sockio.h> header file. */ -#define HAVE_SYS_SOCKIO_H 1 - -/* Define if you have the <sys/stat.h> header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define if you have the <sys/syscallargs.h> header file. */ -#define HAVE_SYS_SYSCALLARGS_H 1 - -/* Define if you have the <sys/sysconfig.h> header file. */ -/* #undef HAVE_SYS_SYSCONFIG_H */ - -/* Define if you have the <sys/sysctl.h> header file. */ -#define HAVE_SYS_SYSCTL_H 1 - -/* Define if you have the <sys/sysent.h> header file. */ -/* #undef HAVE_SYS_SYSENT_H */ - -/* Define if you have the <sys/sysproto.h> header file. */ -/* #undef HAVE_SYS_SYSPROTO_H */ - -/* Define if you have the <sys/time.h> header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define if you have the <sys/tty.h> header file. */ -#define HAVE_SYS_TTY_H 1 - -/* Define if you have the <sys/types.h> header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define if you have the <sys/uio.h> header file. */ -#define HAVE_SYS_UIO_H 1 - -/* Define if you have the <sys/user.h> header file. */ -#define HAVE_SYS_USER_H 1 - -/* Define if you have the <sys/utsname.h> header file. */ -#define HAVE_SYS_UTSNAME_H 1 - -/* Define if you have the <sys/vfs.h> header file. */ -/* #undef HAVE_SYS_VFS_H */ - -/* Define if you have the <syslog.h> header file. */ -#define HAVE_SYSLOG_H 1 - -/* Define if you have the <termios.h> header file. */ -#define HAVE_TERMIOS_H 1 - -/* Define if you have the <unistd.h> header file. */ -#define HAVE_UNISTD_H 1 - -/* Define if you have the <vm/vm.h> header file. */ -#define HAVE_VM_VM_H 1 - -/* Define if you have the <vm/vm_extern.h> header file. */ -#define HAVE_VM_VM_EXTERN_H 1 - -/* Define if you have the <vm/vm_object.h> header file. */ -#define HAVE_VM_VM_OBJECT_H 1 - -/* Define if you have the <vm/vm_pager.h> header file. */ -#define HAVE_VM_VM_PAGER_H 1 - -/* Define if you have the <vm/vm_zone.h> header file. */ -/* #undef HAVE_VM_VM_ZONE_H */ - -/* Define if you have the <vm/vnode_pager.h> header file. */ -#define HAVE_VM_VNODE_PAGER_H 1 - -/* Define if you have the curses library (-lcurses). */ -/* #undef HAVE_LIBCURSES */ - -/* Define if you have the db library (-ldb). */ -/* #undef HAVE_LIBDB */ - -/* Define if you have the edit library (-ledit). */ -#define HAVE_LIBEDIT 1 - -/* Define if you have the gdbm library (-lgdbm). */ -/* #undef HAVE_LIBGDBM */ - -/* Define if you have the kvm library (-lkvm). */ -#define HAVE_LIBKVM 1 - -/* Define if you have the ndbm library (-lndbm). */ -/* #undef HAVE_LIBNDBM */ - -/* Define if you have the nsl library (-lnsl). */ -/* #undef HAVE_LIBNSL */ - -/* Define if you have the readline library (-lreadline). */ -/* #undef HAVE_LIBREADLINE */ - -/* Define if you have the resolv library (-lresolv). */ -/* #undef HAVE_LIBRESOLV */ - -/* Define if you have the socket library (-lsocket). */ -/* #undef HAVE_LIBSOCKET */ - -/* Define if you have the syslog library (-lsyslog). */ -/* #undef HAVE_LIBSYSLOG */ - -/* Define if you have the termcap library (-ltermcap). */ -#define HAVE_LIBTERMCAP 1 - -#define HAVE_INT8_T 1 -#define HAVE_INT16_T 1 -#define HAVE_INT32_T 1 -#define HAVE_INT64_T 1 -#define HAVE_U_INT8_T 1 -#define HAVE_U_INT16_T 1 -#define HAVE_U_INT32_T 1 -#define HAVE_U_INT64_T 1 -/* #undef HAVE_BOOL */ -#define HAVE_SSIZE_T 1 -#define HAVE_REGISTER_T 1 -/* #undef HAVE_INT32 */ -/* #undef HAVE_U_INT32 */ -/* #undef HAVE_INTPTR_T */ - -#define EFF_NTOHL ntohl - -/* RCSID */ -#define RCSID(msg) \ -static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } - -#define VERSION "0.24pre" -#define PACKAGE "arla" - -/* Check for posix signals */ -#define HAVE_POSIX_SIGNALS 1 - -#define HAVE_READLINE 1 - -/* prefix for /dev/fd */ -/* #undef DEV_FD_PREFIX */ - -/* does the system have /dev/fd? */ -/* #undef HAVE_DEV_FD */ - -/* we always have stds.h */ -#define HAVE_STDS_H - -/* We have krb_principal from kth-krb ? */ -#define HAVE_KRB_PRINCIPAL 1 - -/* Define if you have a krb_get_err_text (otherwise, you should really - get more modern kerberos code) */ -#define HAVE_KRB_GET_ERR_TEXT 1 - -/* If we have _res */ -/* #undef HAVE__RES */ - -/* Define if you have kerberos */ -#define KERBEROS 1 - -/* Define if your kernel has a vop_nolock */ -/* #undef HAVE_KERNEL_VOP_NOLOCK */ - -/* Define if your kernel has a vop_nounlock */ -/* #undef HAVE_KERNEL_VOP_NOUNLOCK */ - -/* Define if your kernel has a vop_noislocked */ -/* #undef HAVE_KERNEL_VOP_NOISLOCKED */ - -/* Define if your kernel has a vop_stdnolock */ -/* #undef HAVE_KERNEL_VOP_STDLOCK */ - -/* Define if your kernel has a vop_stdnounlock */ -/* #undef HAVE_KERNEL_VOP_STDUNLOCK */ - -/* Define if your kernel has a vop_stdnoislocked */ -/* #undef HAVE_KERNEL_VOP_STDISLOCKED */ - -/* Define if your kernel has a vop_revoke */ -/* #undef HAVE_KERNEL_VOP_REVOKE */ - -/* Define if your kernel has a genfs_nolock */ -/* #undef HAVE_KERNEL_GENFS_NOLOCK */ - -/* Define if your kernel has a genfs_nounlock */ -/* #undef HAVE_KERNEL_GENFS_NOUNLOCK */ - -/* Define if your kernel has a genfs_noislocked */ -/* #undef HAVE_KERNEL_GENFS_NOISLOCKED */ - -/* Define if your kernel has a genfs_revoke */ -/* #undef HAVE_KERNEL_GENFS_REVOKE */ - -/* Define if your kernel has a vfs_opv_init */ -#define HAVE_KERNEL_VFS_OPV_INIT 1 - -/* Define if your kernel has a vfs_opv_init_default */ -#define HAVE_KERNEL_VFS_OPV_INIT_DEFAULT 1 - -/* Define if your kernel has a vfs_opv_init_explicit */ -#define HAVE_KERNEL_VFS_OPV_INIT_EXPLICIT 1 - -/* Define if your kernel has a vfs_add_vnodeops */ -/* #undef HAVE_KERNEL_VFS_ADD_VNODEOPS */ - -/* Define if your kernel has a vfs_attach */ -/* #undef HAVE_KERNEL_VFS_ATTACH */ - -/* Define if your kernel has a vfs_register */ -#define HAVE_KERNEL_VFS_REGISTER 1 - -/* Define if your kernel has a vfs_getnewfsid */ -#define HAVE_KERNEL_VFS_GETNEWFSID 1 - -/* Define if your kernel has a vfs_getvfs */ -#define HAVE_KERNEL_VFS_GETVFS 1 - -/* Define if your kernel has a vfs_object_create */ -/* #undef HAVE_KERNEL_VFS_OBJECT_CREATE */ - -/* Define if your kernel has a zfreei */ -/* #undef HAVE_KERNEL_ZFREEI */ - -/* Define if your kernel has a vfs_cache_lookup */ -/* #undef HAVE_KERNEL_VFS_CACHE_LOOKUP */ - -/* Define if your kernel has a vnode_pager_generic_putpages */ -/* #undef HAVE_KERNEL_VNODE_PAGER_GENERIC_PUTPAGES */ - -/* Define if your kernel has a vnode_pager_generic_getpages */ -/* #undef HAVE_KERNEL_VNODE_PAGER_GENERIC_GETPAGES */ - -/* Define if your kernel has a vnode_pager_setsize */ -#define HAVE_KERNEL_VNODE_PAGER_SETSIZE 1 - -/* Define if your kernel has a doforce */ -#define HAVE_KERNEL_DOFORCE 1 - -/* Define if your struct dirent has a field d_type */ -#define HAVE_STRUCT_DIRENT_D_TYPE 1 - -/* Define if your struct vfsconf has a field vfc_refcount */ -#define HAVE_STRUCT_VFSCONF_VFC_REFCOUNT 1 - -/* Define if your struct vfsconf has a field vfc_mountroot */ -/* #undef HAVE_STRUCT_VFSCONF_VFC_MOUNTROOT */ - -/* Define if your struct uio has a field uio_procp */ -#define HAVE_STRUCT_UIO_UIO_PROCP 1 - -/* Define if your struct vfsops has a field vfs_opv_descs */ -/* #undef HAVE_STRUCT_VFSOPS_VFS_OPV_DESCS */ - -/* Define if your struct vfsops has a field vfs_name */ -/* #undef HAVE_STRUCT_VFSOPS_VFS_NAME */ - -/* Define if your struct vfsops has a field vfs_oid */ -/* #undef HAVE_STRUCT_VFSOPS_VFS_OID */ - -/* Define if your struct vfsops has a field vfs_checkexp */ -/* #undef HAVE_STRUCT_VFSOPS_VFS_CHECKEXP */ - -/* Define if your struct vfsops has a field vfs_uninit */ -/* #undef HAVE_STRUCT_VFSOPS_VFS_UNINIT */ - -/* Define if you want to use mmap:ed time */ -/* #undef USE_MMAPTIME */ - -/* Define if your hstrerror needs const like SunOS 5.6 */ -#define NEED_HSTRERROR_CONST 1 - -/* Define if your hstrerror need proto */ -/* #undef NEED_HSTRERROR_PROTO */ - -/* define if the system is missing a prototype for inet_aton() */ -/* #undef NEED_INET_ATON_PROTO */ - -/* Define if you have gnu libc */ -/* #undef HAVE_GLIBC */ - -/* Define this if `struct sockaddr' includes sa_len */ -#define SOCKADDR_HAS_SA_LEN 1 - -/* Define this if htnol is broken, but can be fixed with define magic */ -/* #undef HAVE_REPAIRABLE_HTONL */ - -/* Define this if struct ViceIoctl is defined by linux/fs.h */ -/* #undef HAVE_STRUCT_VICEIOCTL_IN */ - -/* Linux kernel types */ -/* #undef HAVE_LINUX_KERNEL_INT8_T */ -/* #undef HAVE_LINUX_KERNEL_INT16_T */ -/* #undef HAVE_LINUX_KERNEL_INT32_T */ -/* #undef HAVE_LINUX_KERNEL_INT64_T */ -/* #undef HAVE_LINUX_KERNEL_U_INT8_T */ -/* #undef HAVE_LINUX_KERNEL_U_INT16_T */ -/* #undef HAVE_LINUX_KERNEL_U_INT32_T */ -/* #undef HAVE_LINUX_KERNEL_U_INT64_T */ - -/* Define this if you have a struct new_stat */ -/* #undef HAVE_STRUCT_NEW_STAT */ - -/* Define this if you have a type vop_t */ -/* #undef HAVE_VOP_T */ - -/* Define this is you have a vfssw */ -/* #undef HAVE_VFSSW */ - -/* Define this if struct mount have mnt_syncer */ -#define HAVE_STRUCT_MOUNT_MNT_SYNCER 1 - -/* Define this if struct proc have p_sigmask */ -#define HAVE_STRUCT_PROC_P_SIGMASK 1 - -/* Define this if you have struct a_flags instead of a_waitfor in vop_fseek*/ -/* #undef HAVE_STRUCT_VOP_FSYNC_ARGS_A_FLAGS */ - -/* Define this if struct proc have p_retval */ -/* #undef HAVE_STRUCT_PROC_P_RETVAL */ - -/* Define this if struct file_operations has flush */ -/* #undef HAVE_STRUCT_FILE_OPERATIONS_FLUSH */ - -/* Define this if the read_super superoperation takes the dir_d argument */ -/* #undef HAVE_READ_SUPER_FOUR_ARGS */ - -/* Define this if the follow_link inode-operation takes the follow argument */ -/* #undef HAVE_FOLLOW_LINK_THREE_ARGS */ - -/* Define this if your full_name_hash works with 8bit characters */ -/* #undef HAVE_FULL_NAME_HASH_8BIT */ - -/* Define if your getvfsbyname takes two arguments */ -/* #undef HAVE_GETVFSBYNAME_TWO_ARGS */ - -/* Define if you have DIRSIZ in <dirent.h> */ -/* #undef DIRSIZ_IN_DIRENT_H */ - -/* Define if you have DIRSIZ in <sys/dir.h> */ -#define DIRSIZ_IN_SYS_DIR_H 1 - -/* Define if you have GENERIC_DIRENT in <sys/dirent.h> */ -/* #undef GENERIC_DIRSIZ_IN_SYS_DIRENT_H */ - -/* Define if running on Irix 6.4 or later */ -/* #undef IRIX_64 */ - -/* - * Defintions that are ugly but needed to get all the symbols used - */ - -/* - * Defining this enables lots of useful (and used) extensions on - * glibc-based systems such as Linux - */ - -#define _GNU_SOURCE - -/* - * Defining this enables us to get the definition of `sigset_t' and - * other importatnt definitions on Solaris. - */ - -#define __EXTENSIONS__ diff --git a/usr.sbin/afs/libroken/version.h b/usr.sbin/afs/libroken/version.h deleted file mode 100644 index bce23be694a..00000000000 --- a/usr.sbin/afs/libroken/version.h +++ /dev/null @@ -1,2 +0,0 @@ -char *arla_long_version = "@(#)$Version: arla-0.24pre by art on kurrent.stacken.kth.se (sparc-unknown-openbsd2.5) Wed Apr 28 18:54:29 MEST 1999 $"; -char *arla_version = "arla-0.24pre"; diff --git a/usr.sbin/afs/pts/Makefile b/usr.sbin/afs/pts/Makefile deleted file mode 100644 index 72651bcb3db..00000000000 --- a/usr.sbin/afs/pts/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -PROG = pts -SRCS = pts.c -LDADD += -lkafs -DPADD += ${LIBKAFS} - -.include "../Applflags.inc" - -.PATH: ${.CURDIR}/../src/appl/pts - -SRCS += arlalib.c fs_lib.c -CFLAGS += -I${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/arlad - -.include <bsd.prog.mk> diff --git a/usr.sbin/afs/pts/pts.1 b/usr.sbin/afs/pts/pts.1 deleted file mode 100644 index a2f65867cd0..00000000000 --- a/usr.sbin/afs/pts/pts.1 +++ /dev/null @@ -1,257 +0,0 @@ -.Dd March 25, 2000 -.Dt PTS 1 -.Os -.Sh NAME -.Nm pts -.Nd Manage AFS protection database -.Sh SYNOPSIS -.Nm pts -.Op Ar command -.Op Ar args -.Sh DESCRIPTION -The -.Nm -utility is used to manipulate the contents of the AFS Protection Database, -which contains information about users and groups and is handled by the -Protection Server. -Note that the -.Nm -utility does -.Em not -modify the traditional -.Ux -user and group database, only the AFS specific information. -.Pp -The -.Nm -utility provides several commands: -.Pp -.Bl -tag -width "membership groups" -compact -.It Cm adduser -add a user to a group -.It Cm chown -change owner of user or group -.It Cm creategroup / cg -create a new group -.It Cm createuser -create a new user -.It Cm dump -dump pts database -.It Cm delete -delete user or group -.It Cm examine -examine a user or a group -.It Cm help Cm ? -get help on -.Nm -.It Cm listmax -print largest uid and gid -.It Cm listowned -list groups owned by a user or group, or orphaned groups -.It Cm membership Cm groups -list group or user membership -.It Cm removeuser -remove a user from a group -.It Cm rename -rename user/group -.It Cm setfields -not yet implemented -.It Cm setmax -not yet implemented -.It Cm syncdb -not yet implemented -.El -.Pp -Most -.Nm -commands accept the following general arguments: -.Pp -.Bd -filled -offset indent -compact -.Op Fl cell Ar cellname -Specifies which AFS cell to use, if the default cell is not to be used. -.Pp -.Op Fl noauth -Specifies that -.Nm -should not try to authenticate the connection to the server. -This may be -useful with shell scripts, or if there is a problem with the AFS cell. -Note that the server will reject many commands if -.Fl noauth -is specified. -.Ed -.Pp -The syntax of the -.Nm -commands: -.Pp -.Ic pts adduser -.Op Fl name -.Ar user -.Op Fl group -.Ar group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Add the specified user to the specified group. -.Ed -.Pp -.Ic pts chown -.Op Fl name -.Ar user/group -.Op Fl owner -.Ar owner -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Change owner of a group or user. -.Ed -.Pp -.Ic pts creategroup -.Op Fl name -.Ar name -.Op Fl id Ar idnumber -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Create a new group. -If -.Fl id -is not specified, a new idnumber is taken automatically. -.Ed -.Pp -.Ic pts cg -.Bd -filled -offset indent -compact -.Ic pts cg -is an alias for the -.Ic pts creategroup -command. -.Ed -.Pp -.Ic pts createuser -.Op Fl name -.Ar name -.Op Fl id Ar idnumber -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Create a new user. -If -.Fl id -is not specified, a new idnumber is taken automatically. -.Ed -.Pp -.Ic pts dump -.Ar server -.Op Fl cell cellname -.Bd -filled -offset indent -compact -Dump the Protection Database in a human readable form. -The database is read from the given database server. -.Ed -.Pp -.Ic pts delete -.Op Fl name -.Ar name/group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Delete a user or group from the database. -.Ed -.Pp -.Ic pts examine -.Ar user/group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Print verbose information about a user or a group. -.Ed -.Pp -.Ic pts help -or -.Ic pts ? -.Bd -filled -offset indent -compact -Print help about -.Nm -.Ed -.Pp -.Ic pts listmax -.Op Fl cell Ar cellname -.Bd -filled -offset indent -compact -Print the largest uid and gid. -.Ed -.Pp -.Ic pts listowned -.Op Fl id -.Ar user/group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -List the groups owned by a user or group. -.Ed -.Pp -.Ic pts membership -.Op Fl nameorid Ar user/group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -List the members of a group, or the groups a user is a member of. -.Ed -.Pp -.Ic pts groups -.Bd -filled -offset indent -compact -.Ic pts groups -is an alias for the -.Ic pts membership -command. -.Ed -.Pp -.Ic pts removeuser -.Op Fl user -.Ar user -.Op Fl group -.Ar group -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Remove a users membership from a group. -.Ed -.Pp -.Ic pts rename -.Op Fl from -.Ar "old name" -.Op Fl to -.Ar "new name" -.Op Fl cell Ar cellname -.Op Fl noauth -.Bd -filled -offset indent -compact -Rename a user or group. -.Ed -.Pp -.Ic pts setfields -.Bd -filled -offset indent -compact -This command is available in the original AFS client, but has not been -implemented yet. -.Ed -.Pp -.Ic pts setmax -.Bd -filled -offset indent -compact -This command is available in the original AFS client, but has not been -implemented yet. -.Ed -.Pp -.Ic pts syncdb -.Bd -filled -offset indent -compact -This command has not been implemented yet. -.Ed -.Pp -.Sh SEE ALSO -.Xr afsd 8 , -.Xr fs 1 , -.Xr vos 8 -.Sh STANDARDS -The Arla authors are trying to mimic the behaviour of the original AFS -utilities. -.Sh AUTHORS -The Arla project <http://www.stacken.kth.se/project/arla/>. -.Sh BUGS -Some commands are not implemented yet. diff --git a/usr.sbin/afs/vos/Makefile b/usr.sbin/afs/vos/Makefile deleted file mode 100644 index 15bd944df01..00000000000 --- a/usr.sbin/afs/vos/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -PROG = vos -MAN = vos.8 -BINDIR = /usr/sbin -SRCS = vos.c vos_common.c vos_createentry.c vos_createvolume.c \ - vos_dump.c vos_endtrans.c vos_examine.c vos_listpart.c \ - vos_listvldb.c vos_listvol.c vos_lock.c vos_partinfo.c \ - vos_status.c vos_syncsite.c vos_unlock.c vos_vldbexamine.c - -LDADD += -lkafs -DPADD += ${LIBKAFS} - -.include "../Applflags.inc" - -.PATH: ${.CURDIR}/../src/appl/vos - -SRCS += arlalib.c fs_lib.c -CFLAGS += -I${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/appl/lib -.PATH: ${.CURDIR}/../src/arlad - -.include <bsd.prog.mk> diff --git a/usr.sbin/afs/vos/vos.8 b/usr.sbin/afs/vos/vos.8 deleted file mode 100644 index 25367e88b60..00000000000 --- a/usr.sbin/afs/vos/vos.8 +++ /dev/null @@ -1,390 +0,0 @@ -.Dd March 26, 2000 -.Dt VOS 1 -.Os -.Sh NAME -.Nm vos -.Nd manage AFS volumes and the VLDB -.Sh SYNOPSIS -.Nm vos -.Op Ar command -.Op Ar args -.Sh DESCRIPTION -The -.Nm -utility is used to manage AFS volumes and the volume location database (VLDB). -.Pp -.Nm -provides several commands: -.Pp -.Bl -tag -width createentry -compact -.It Cm addsite -not yet implemented -.It Cm apropos -apropos -.It Cm backup -not yet implemented -.It Cm backupsys -not yet implemented -.It Cm changeaddr -not yet implemented -.It Cm create -create a volume -.It Cm createentry -create a vldb entry -.It Cm delentry -not yet implemented -.It Cm dump -dump a volume -.It Cm endtrans -end a transaction -.It Cm examine -print information about a volume -.It Cm volinfo -print information about a volume -.It Cm help -print help -.It Cm ? -print help -.It Cm listpart -list partitions on a server -.It Cm listvldb -list volumes in volume-location-database -.It Cm listvol -list volumes on a server -.It Cm lock -not yet implemented -.It Cm move -not yet implemented -.It Cm partinfo -print partition information on a server -.It Cm release -not yet implemented -.It Cm remove -not yet implemented -.It Cm remsite -not yet implemented -.It Cm rename -not yet implemented -.It Cm restore -not yet implemented -.It Cm status -Show volume server transactions -.It Cm syncserv -not yet implemented -.It Cm syncvldb -not yet implemented -.It Cm syncsite -print the syncsite -.It Cm unlock -not yet implemented -.It Cm unlockvldb -not yet implemented -.It Cm zap -not yet implemented -.It Cm quit -exit interactive mode -.El -.Pp -Most -.Nm -commands accept the following general arguments: -.Pp -.Bd -filled -offset indent -compact -.Op Fl cell Ar cellname -Specifies which AFS cell to use, if the default cell is not to be used. -.Pp -.Op Fl noauth -Specifies that -.Nm -should not try to authenticate the connection to the server. -This may be -useful with shell scripts, or if there is a problem with the AFS cell. -Note that the server will reject many commands if -.Fl noauth -is specified. -.Pp -.Op Fl localauth -Create a ticket using the AFS server key, that is, you don't need a token. -This will generally only work on AFS servers, and is very useful for -performing automatic tasks. -.Ed -.Pp -The syntax of the -.Nm -commands: -.Pp -.Ic vos addsite -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos apropos -.Bd -filled -offset indent -compact -apropos -.Ed -.Pp -.Ic vos backup -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos backupsys -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos changeaddr -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos create -.Op Fl server -.Ar fileserver -.Op Fl part -.Ar partition -.Op Fl volume -.Ar "volume name" -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -Create a new volume named -.Ar "volume name" -on server -.Ar fileserver -partition -.Ar partition . -.Ed -.Pp -.Ic vos createentry -.Op Fl id -.Ar "id of volume" -.Op Fl host -.Ar "host to use" -.Op Fl fsserver -.Ar fileserver -.Op Fl rw -.Ar "volume RW number" -.Op Fl ro -.Ar "volume RO number" -.Op Fl bk -.Ar "volume BK number" -.Op Fl noauth -.Op Fl localauth -.Bd -filled -offset indent -compact -Create a vldb entry manually. -This command should -.Em not -be used unless you know -.Em exactly -what you are doing. -.Ed -.Pp -.Ic vos delentry -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos dump -.Op Fl id -.Ar volume -.Op Fl server Ar fileserver -.Op Fl partition Ar partition -.Op Fl cell Ar cellname -.Op Fl file Ar filename -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -Dump a volume to a file. -.Ed -.Pp -.Ic vos endtrans -.Op Fl server -.Ar server -.Op Fl trans -.Ar transaction -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl verbose -.Bd -filled -offset indent -compact -End a transaction. -XXX what is this? -.Ed -.Pp -.Ic vos examine -.Op Fl id -.Ar volume -.Op Fl host -.Ar server -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Op Fl extended -.Bd -filled -offset indent -compact -Print information about a volume. -.Ed -.Pp -.Ic vos volinfo -.Bd -filled -offset indent -compact -.Ic vos volinfo -is an alias for the -.Ic vos examine -command. -.Ed -.Pp -.Ic vos help -.Bd -filled -offset indent -compact -print help -.Ed -.Pp -.Ic vos ? -.Bd -filled -offset indent -compact -.Ic vos ? -is an alias for the -.Ic vos help -command. -.Ed -.Pp -.Ic vos listpart -.Op Fl server -.Ar fileserver -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -List partitions on a fileserver. -.Ed -.Pp -.Ic vos listvldb -.Op Fl server -.Ar fileserver -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -List volumes in the volume location database without reading them on the -fileserver. -.Ed -.Pp -.Ic vos listvol -.Op Fl server -.Ar fileserver -.Op Fl partition -.Ar partition -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -List volumes on a fileserver, without consulting the volume location database. -.Ed -.Pp -.Ic vos lock -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos move -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos partinfo -.Op Fl server -.Ar fileserver -.Op Fl partition -.Ar partition -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl localauth -.Op Fl verbose -.Bd -filled -offset indent -compact -Print the total and remaining diskspace on a fileserver. -.Ed -.Pp -.Ic vos release -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos remove -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos remsite -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos rename -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos restore -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos status -.Op Fl server -.Ar fileserver -.Op Fl cell Ar cellname -.Op Fl noauth -.Op Fl verbose -.Bd -filled -offset indent -compact -Show volume server transactions. -.Ed -.Pp -.Ic vos syncserv -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos syncvldb -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos syncsite -.Bd -filled -offset indent -compact -print the syncsite -.Ed -.Pp -.Ic vos unlock -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos unlockvldb -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos zap -.Bd -filled -offset indent -compact -not yet implemented -.Ed -.Pp -.Ic vos quit -.Bd -filled -offset indent -compact -Exit interactive mode. -.Ed -.Sh SEE ALSO -.Xr afsd 8 , -.Xr pts 1 , -.Xr fs 1 -.Sh STANDARDS -The Arla authors are trying to mimic the behaviour of the original AFS -utilities. -.Sh AUTHORS -The Arla project <http://www.stacken.kth.se/project/arla/>. -.Sh BUGS -Quite a lot of commands are not implemented yet. diff --git a/usr.sbin/afs/ydr/Makefile b/usr.sbin/afs/ydr/Makefile deleted file mode 100644 index d6a1fe13bf1..00000000000 --- a/usr.sbin/afs/ydr/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# $OpenBSD: Makefile,v 1.4 2002/05/15 09:02:03 deraadt Exp $ -SRCS += main.c output.c symbol.c types.c lex.c parse.c -CLEANFILES += lex.c parse.c parse.h y.tab.h -CFLAGS += -I. -I${.CURDIR}/../src/util -I${.CURDIR}/../src/lib/roken \ - -I${.CURDIR}/../src/include -I${.CURDIR} -DHAVE_CONFIG_H -CFLAGS += -DCPP='"/usr/bin/cpp"' -MAN = -BINDIR = ${DESTDIR}/usr/bin -PROG = ydr -LDADD += ../libroken/libroken.a -DPADD += ../libroken/libroken.a - -.PATH: ${.CURDIR}/../src/ydr - -beforedepend: parse.h - -parse.h: y.tab.h - -@ln -fs y.tab.h parse.h - -y.tab.h: parse.c - -lex.o: parse.h - -.if (${MACHINE_ARCH} == "m68k") -output.o: output.c - ${CC} -c ${CFLAGS} -O1 ${.IMPSRC} -.endif - -.include <bsd.prog.mk> |