partition_map(4)

NAME

partition_map - tell rpc.ttdbserverd(1m) to locate its databases in an alternate file system

SYNOPSIS

partition_map

DESCRIPTION

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 databases in another file system.

The partition_map file is called "partition_map" and resides in /etc/tt. If $TT_PARTITION_MAP is set, it is used in place of /etc/tt/partition_map.

rpc.ttdbserverd(1m) reads the partition map upon startup and rereads the map if it receives signal USR2.

  Format rules

The format rules for a partition_map are:

1. Any line beginning with a "#" or white-space and a "#" is a comment.

2. Blank lines are comments.

3. Words are delimited by white space.

4. The first word in a non-comment line is the partition from which to map.

5. The second word in a non-comment line is the partition to which to map.

ENVIRONMENT

TT_PARTITION_MAP
    If $TT_PARTITION_MAP is set, it is used in place of /etc/tt/partition_map.

EXAMPLES

This example maps "/cdrom" to "/usr":

    # cannot write to /cdrom
    /cdrom /usr

SEE ALSO

rpc.ttdbserverd(1m), hostname_map(4)