TTDBSERVERD(1m)
π
ttdbserverd β the RPC-based ToolTalk database server (yes that's the real name, it's from user cmd, iykyk)
okay so bestie, buckle up, because we're talking about ttdbserverd, aka rpc.ttdbserverd when it's being fancy in the synopsis. it's the RPC-based ToolTalk database server and honestly it's doing SO much behind the scenes. β¨
πΈ SYNOPSIS πΈ
rpc.ttdbserverd [-G] [-m DTMOUNTPOINT_value] [-n] [-v] [-?]
look at her. five little flags. icon behavior. π
π DESCRIPTION π
okay so here's the tea: rpc.ttdbserverd manages the ToolTalk objects that get created by tt_spec_create(3), and it also handles certain queries related to the netfiles that tt_file_netfile(3) hands back. one instance of rpc.ttdbserverd β normally started by inetd, no cap β runs on each host that has a local filesystem. literally one per host with a local fs, that's the rule. π«Ά
and it serves four purposes, bestie, four whole jobs:
- mapping a spec to its associated file, and a file to its associated specs.
- mapping a spec to its properties.
- mapping a file to a list of sessions with clients having patterns registered in the scope of that file.
- answering netfile queries β see
tt_file_netfile(3)andtt_host_file_netfile(3).
now, the storage situation π β 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. slay.
but what if the partition isn't writable? π then rpc.ttdbserverd can be told, via partition_map(4), to create the databases in another local partition. and if rpc.ttdbserverd isn't 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. teamwork makes the dream work fr fr. π
β¨ OPTIONS β¨
-Gβ perform garbage collection ποΈ. this cleans up theTT_DBdirectories and the associated internal database files. self-care for your db, honestly.-mDTMOUNTPOINT_valueβ sets theDTMOUNTPOINTenvironment variable forrpc.ttdbserverd. and if there's already an environment variable calledDTMOUNTPOINT? yeah,-mwill override it. take that, existing env var. π-nβ turn off permission checking π. normally the protection of the file passed tott_spec_create(3)determines who may read and write that spec. this option disables this checking and allows anyone to read and write any spec. so basically everyone gets the aux cord. no big deal. except it IS a big deal.
bestie, listen to me: this option should be used with caution. that's not me being dramatic, that's the manpage. π₯
-vβ print out the version number. cute, quick, slay. β-?β prints out the command usage information. the "help, what do I type" button. π-?β (yes, again, that's what's in the page β see below π)
wait no, literally just the five above: -G, -m, -n, -v, -?. that's the whole lineup. π¦
π§ ENVIRONMENT π§
DTMOUNTPOINTβ if set, the value of this environment variable will be used in place of/netin pathnames constructed to answertt_host_netfile_file(3)queries. this environment variable can also be set by using the-mflag forrpc.ttdbserverd. β¨TT_PARTITION_MAPβ if set, the value of this environment variable will be used in place of/etc/tt/partition_map. seepartition_map(4). π
π FILES π
TT_DB/*β spec and session database files are kept in theTT_DBdirectory under each disk partition mount point. ποΈtt/hostname_mapβ host redirection map. seehostname_map(4)./etc/tt/partition_mapβ partition redirection map. seepartition_map(4).
π₯ SEE ALSO π₯
ttsession(1), tt_file_netfile(3), tt_host_file_netfile(3), tt_spec_create(3), hostname_map(4), partition_map(4)
go read them, bestie, they're all connected and the lore runs deep. π
π sign-off π
and that's the whole page, no notes! this one's filed under ttdbserverd(user cmd) β that's the manual name up there at the top and the footer label down here at the bottom, so now you know where to find her again. no version number or date was given in the original, so we're not making one up. periodt. πΈ
now go make sure your TT_DB directories are cute and your permission checking is ON. mwah. π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms