STORE(1t,C) AIX Commands Reference STORE(1t,C) ------------------------------------------------------------------------------- store PURPOSE Changes file storage attribute on files in user-replicated file systems. SYNTAX +-------+ +--- site ---+ +-----+ +------------+ store ---| +---+ |---| ^ | |---| |---| |---| ^ +-| + |-+ | +-- , ---+ | | +- - -+ +--- file ---+ | | - | +--- all ----+ | ^ | | +---+ | +--------+ +----------------------------+ DESCRIPTION The store command sets the storage attribute for files in user-replicated filesystems. The site parameter is a site name or site number. The special name all refers to all present and future storage sites for the file. If a - precedes a site list, those sites are removed from the storage mask (the fstore field in the inode). If it is preceded by a +, those sites are added to the storage mask. If the site list is not preceded by a + or - modifier, the storage mask is set to exactly those sites. Additional site list arguments are combined, the effect being as if separate commands were done in the same order. If the file list is empty or consists of a single -, the standard input is read for a list of file names. Otherwise, a single - argument can be used at the start of the file list to signal the end of the site lists. The - option is useful when file names begin with a "-" and might otherwise be mistaken as site list arguments. EXAMPLE store +alpha,beta myfile This example causes the myfile to be replicated on sites named alpha and beta. DIAGNOSTICS If a given file is stored in a non-replicated or system-replicated filesystem, an error is given. If the command is unable to change the storage mask on a file, an error message is displayed on the standard error and the command exits with a status of -1. Processed July 12, 1991 STORE(1t,C) 1 STORE(1t,C) AIX Commands Reference STORE(1t,C) FILES /etc/site Site number/site name correspondences. RELATED INFORMATION See the following commands: "chfstore," "chmod," and "where." See fs and site in the AIX Operating System Technical Reference. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 STORE(1t,C) 2