Technical data
8. Documentation for Developers
Table 8.2.: Options for Files
Option Meaning Default Value
type= Type of the Entry:
local Filesystem Object
file File
dir Directory
node Device
symlink (symbolic) Link
This option has to be placed in front when
given. The type “local” represents the type
of an object existing in the file system and
hence matches “file”, “dir”, “node” or “symlink”
(depends). All other types except for “file” can
create entries in the archive that do not have
to exist in the local file system. This can i.e.
be used to create devices files in the RootFS
archive.
local
uid= The file owner, either numeric or as a name from
passwd
root
gid= File group, either numeric or as a name from
group
root
mode= Access rights Files and Devices:
rw-r--r-- (644)
Directories:
rwxr-xr-x (755)
Links:
rwxrwxrwx (777)
flags=
(type=file)
Conversions before inclusion in the archive:
utxt Conversion to *nix format
dtxt Conversion to DOS format
sh Shell-Skript: Conversion to *nix for-
mat, stripping of superfluous chars
name= Alternative name for inclusion of the entry in the
archive
devtype=
(type=node)
Descibes the type of the device (“c” for character
and “b” für block oriented devices). Has to be
placed in second position.
major=
(type=node)
Decribes the so-called “Major” number of the de-
vice file. Has to be placed in third position.
minor=
(type=node)
Decribes the so-called “Minor” number of the de-
vice file. Has to be placed in fourth position.
linktarget=
(type=symlink)
Describes the target of the symbolic link. Has to
be placed in second position.
• copy file, set uid/gid to root, the rights to 555 (r-xr-xr-x) and convert the file to *nix
format while stripping all superfluous chars
base yes etc/rc0.d/rc500.killall mode=555 flags=sh
289










