TotalNET Advanced Server 5.2 Reference Manual

tnattach

This command manages attach points to file services. You can list, read attribute values of, create, modify, and delete attach points. Attach points, aliases specified for internal directories in volumes, appear to users the same as volumes.

Location

TNHOME/usr/sbin

Usage

tnattach [-L [-r realm] [-s service]
tnattach [-R [-r realm] [-s service] [-j attach-point
 	[-a attribute]]]]]
tnattach [(-A|-M) -r realm -s service -j attach-point
 	{-a attribute=value}]
tnattach [-D -r realm -s service -j attach-point]

Options

-j attach-point

Specify an attach point. 

Attributes

path

This attribute designates the relative path to the volume.

Usage:

tnattach -M -r realm -s service -j attach-point -a path=pathname

volume

This attribute designates the volume within which the attach point resides.

Usage:

tnattach -M -r realm -s service -j attach-point -a volume=volumename

Examples

  1. Use one of the following commands to list available attach points:


    tnattach
    tnattach -L
  2. Use the following command to list available attach points for file service myhost in the LM-NT-OS/2 realm:


    tnattach -R -r NB -s myhost:file
  3. Use the following command to read the value of the attribute volume for the attach point mybin in the file service myhost in the NetWare realm:


    tnattach -R -r NW -s myhost:file -j mybin -a volume
  4. Use the following command to create a new attach point mybin in the file service myhost in the AppleTalk realm:


    tnattach -A -r AT -s atmyhost:file -j mybin
     	-a volume=myvol 	-a path=/export/home
  5. Use the following command to change the value of the attribute volume of attach point mybin in the file service myhost in the AppleTalk realm, to home:


    tnattach -M -r AT -s atmyhost:file -j mybin
     	-a volume=home
  6. Use the following command to delete the attach point mybin from the file service myhost in the LM-NT-OS/2 realm:


    tnattach -D -r NB -s myhost:file -j mybin