Next: Using a read-only root
Up: Configuring RAM disk elements
Previous: Duplicating files into /ram
Contents
RAM* and LINK* syntax
| RAMDIR dir |
[-d] [-cl] [-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
| |
[-m mode] [-u user] [-g group] |
|
Creates a directory in the RAM disk.
- -d causes the directory and all of its contents to be duplicated into /ram (default behavior is to create an empty directory).
- -cl flags the given dir in /ram as cleanable for any update-node -clean operations.
- -c limits the directive to apply only to the given classes.
- -n limits the directive to apply only to the given nodes.
- -p limits the directive to apply only to nodes having one or more of the given properties.
- -m manually sets permissions of the file in /ram.
- -u manually sets the owner of the file in /ram.
- -g manually sets the group of the file in /ram.
- Note: All permissions and ownership are mirrored from the image by default.
| RAMFILE file |
[-d] [-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
| |
[-m mode] [-u user] [-g group] |
|
Creates a file in the RAM disk.
- -d causes the file to be duplicated from the image into /ram (default behavior is to touch the file).
- -c limits the directive to apply only to the given classes.
- -n limits the directive to apply only to the given nodes.
- -p limits the directive to apply only to nodes having one or more of the given properties.
- -m manually sets permissions of the directory in /ram.
- -u manually sets the owner of the directory in /ram.
- -g manually sets the group of the directory in /ram.
- Note: All permissions and ownership are mirrored from the image by default.
| LINKDIR dir |
[-d] [-cl] [-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
Creates the directory in /ram, and changes the corresponding directory
in the image into a link pointing to the directory in /ram.
- -d causes the directory and all of its contents to be duplicated into /ram (default behavior is to create an empty directory).
- -cl flags the given dir in /ram as cleanable for any update-node -clean operations.
- -c limits the directive to apply only to the given classes.
- -n limits the directive to apply only to the given nodes.
- -p limits the directive to apply only to nodes having one or more of the given properties.
| LINKFILE file |
[-d] [-c class[,class]...] [-n node[,node]...] [-p property[,property]...] |
|
Creates a file in /ram, and changes the corresponding file in the image
into a link pointing to the file in /ram.
- -d causes the directory and all of its contents to be duplicated into /ram (default behavior is to touch an empty file).
- -cl flags the given dir in /ram as cleanable for any update-node -clean operations.
- -c limits the directive to apply only to the given classes.
- -n limits the directive to apply only to the given nodes.
- -p limits the directive to apply only to nodes having one or more of the given properties.
Note: With all RAMDIR, RAMFILE, LINKDIR, and LINKFILE directives, any wildcard syntax consisting of *, ?, , or { }
characters can be used to specify multiple files/directories in accordance
with the POSIX.2 glob() function.
Next: Using a read-only root
Up: Configuring RAM disk elements
Previous: Duplicating files into /ram
Contents
root
2017-02-23