Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

partition_map (4)

Name

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

Synopsis

partition_map

Description

partition_map(4)               ToolTalk Commands              partition_map(4)



NAME
       partition_map  -  tell rpc.ttdbserverd(8) 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  data-
       bases 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(8) 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. Although the TT_DB directories are by default at  the  root  of
          their  file  systems, the user may in fact map to any local filename
          that is writeable by UID root.

ENVIRONMENT
       TT_PARTITION_MAP
              If $TT_PARTITION_MAP is set, it is used in place of /etc/tt/par-
              tition_map.

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

              # cannot write to /cdrom
              /cdrom /usr

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

              # cannot write to /cdrom
              /cdrom /usr/TT_maps/cdrom


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/tooltalk |
       +---------------+------------------+
       |Stability      | Committed        |
       +---------------+------------------+

SEE ALSO
       rpc.ttdbserverd(8), hostname_map(4)




ToolTalk 1.3                     1 March 1996                 partition_map(4)