Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
ttdbserverd(user cmd)					 ttdbserverd(user cmd)

       ttdbserverd -- RPC-based	ToolTalk database server

       rpc.ttdbserverd [-G]  [-m DTMOUNTPOINT_value]  [-n]  [-v]  [-?]

       rpc.ttdbserverd	manages	ToolTalk objects created by tt_spec_create(3),
       and handles  certain  queries  related  to  the	netfiles  returned  by
       tt_file_netfile(3).   One instance of rpc.ttdbserverd (normally started
       by inetd) runs on each host that	has  a	local  filesystem.   rpc.ttdb-
       serverd serves four purposes:

	  1. Mapping  a	 spec to its associated	file and a file	to its associ-
	     ated specs.

	  2. Mapping a spec to its properties.

	  3. Mapping a file to a list of sessions with clients having patterns
	     registered	in the scope of	that file.

	  4. Answering	  netfile    queries;	see   tt_file_netfile(3)   and

       For each	filesystem that	rpc.ttdbserverd	 needs	to  store  information
       about,  it  creates  a directory	called TT_DB at	the mountpoint of that
       file system.  In	that directory it creates the databases	 it  needs  to
       store  its  tables and indices.	If the partition is not	writable, then
       rpc.ttdbserverd can be told, via	partition_map(4), to create the	 data-
       bases  in another local partition.  If rpc.ttdbserverd is not installed
       on a particular file server, ToolTalk can be told, via hostname_map(4),
       to  manage that file server's partitions	using the rpc.ttdbserverd on a
       different host.

       -G	 Perform garbage collection.  This cleans up the TT_DB	direc-
		 tories	and the	associated internal database files.

       -m DTMOUNTPOINT_value
		 Sets  the  DTMOUNTPOINT  environment  variable	 for rpc.ttdb-
		 serverd.  If there is already an environment variable	called
		 DTMOUNTPOINT, -m will override	it.

       -n	 Turn off permission checking.	Normally the protection	of the
		 file passed to	tt_spec_create(3) determines who may read  and
		 write	that spec.  This option	disables this checking and al-
		 lows anyone to	read and write any spec.  This	option	should
		 be used with caution.

       -v	 Print out the version number.

       -?	 Prints	out the	command	usage information.

		 If  set,  the value of	this environment variable will be used
		 in  place  of	/net  in  pathnames  constructed   to	answer
		 tt_host_netfile_file(3)  queries.  This  environment variable
		 can also be set by using the -m flag for rpc.ttdbserverd.

		 If set, the value of this environment variable	will  be  used
		 in place of /etc/tt/partition_map.  See partition_map(4).

       TT_DB/*	 spec  and session database files are kept in the TT_DB	direc-
		 tory under each disk partition	mount point.

		 Host redirection map.	See hostname_map(4).

		 Partition redirection map.  See partition_map(4).

       ttsession(1), tt_file_netfile(3), tt_host_file_netfile(3), tt_spec_cre-
       ate(3), hostname_map(4),	partition_map(4)

							 ttdbserverd(user cmd)


Want to link to this manual page? Use this URL:

home | help