next up previous contents
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.

 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.

 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.

 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.

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 up previous contents
Next: Using a read-only root Up: Configuring RAM disk elements Previous: Duplicating files into /ram   Contents
root 2017-02-23