[Top] [Prev] [Next] [Bottom]

loadfiles(1)

loadfiles(1)

Name

loadfiles-load files into shared memory cache

Synopsis

loadfiles -k key [files] [--]

Description

loads the files specified in the command line or the standard input into a shared memory cache associated with key. If a shared memory cache exists for key then a directory of files in that cache is printed, and no files are added to the cache. When the cache is created its permissions are set to 0666. This permission means that the cache is readable and writable by everyone on the system. Files to be loaded into the cache are taken from the standard input if -- is specified on the command line instead of files.

ipcrm(1) destroys the shared memory cache created by loadfiles.

Examples

The command:

loadfiles -k${MSKIPCKEY} file1 file2

loads file1 and file2 into a shared memory cache associated with the value of the shell variable MSKIPCKEY.

Notices

Only the last part of a file name is stored in the cache's directory. For example, /etc/motd would be stored as motd. Therefore one can not have both /etc/motd and /tmp/motd in the cache at the same time.

See Also

ipcrm(1) in a UNIX System reference manual



[Top] [Prev] [Next] [Bottom]