This section
describes
the
syntax
of
disk_config
files
file ::=
<lines>
EOF
lines ::=
EOL
comment ::=
#.*
config ::=
disk_config
lvm(
<lvmoption>)*
lvmoption ::=
/*
empty
*/
first time
*/
may be
the
device
(/dev/xxx),
a
label
given
using
-L,
raidoption ::=
/*
empty
*/
first time
*/
may be
the
device
(/dev/xxx),
a
label
given
using
-L,
or
the
uuid
cryptsetupoption ::=
/*
empty
*/
option ::=
/*
empty
*/
which may
not
necessarily
be
the
5th
line
of
the
configuration
*/
may be
the
device
(/dev/xxx),
a
label
given
using
-L,
or
the
uuid
important for
proper
performance
of
RAID
arrays
which
use
a
logical
volume ::=
<type>
<mountpoint>
<size>
<filesystem>
<mount_options>
<luks_options>
<fs_options>
type ::=
primary
recreated with
a
random
key
at
each
boot
and
reformatted as
ext2
*/
be recreated
with
a
random
key
at
each
boot
and
reformatted as
swap
space
*/
mountpoint {::=
(- | swap | /
[^
[:space:]]
*)}
name ::=
[^/
[:space:]]
+
sizespec {::=
RAM:
[[:digit:]]
+% | [[:digit:]]
+
[kKMGTP%iB]
*}
size {::=
<sizespec>(-(<sizespec>)?)?(:resize | :preserve_(always | reinstall | lazy))?}
tmpfs_size ::=
<sizespec>
mount_options ::=
[^
[:space:]]
+
filesystem ::=
-
luks_options ::=
(lukscreateopts=".*")
fs_options {::=
(createopts=".*" | tuneopts=".*" | (pv | vg | lv | md)createopts=".*")*}