27.6 Creating a Hard Link for Testing Purposes

While working on a server, you can use the nss /CreateHardLink command to create hard links for testing purposes only. In a production environment, use the Link (ln) command from a client instead, as described in Section 27.4, Creating a Hard Link Using Ln on a Linux Client.

IMPORTANT:Do not use the nss /CreateHardLink command in a production environment.

27.6.1 Prerequisites

27.6.2 Procedure

To create a hard link for testing purposes on your server:

  1. At a command prompt, enter

    nss /CreateHardLink=PrimaryFilePath|HardLinkFilePath
    

    Replace PrimaryFilePath with the complete volume name, pathname, and filename of the primary file. Replace HardLinkFilePath with the complete volume name, pathname, and filename of the new hard link.

    IMPORTANT:The file paths are specified using the Long name space.

    For example, to create a hard link on a volume named VOL1 on NetWare:

    nss /CreateHardLink=VOL1:\path\file.ext|VOL1:\newpath\newfile.ext