DEPLOY* syntax
Directs the mk-diskful script to create and mount a
filesystem partition of a specified size on the specified
disk, and copy the corresponding directory tree in the master image
to that partition.
- - The disk parameter is either a number specifying disk
order as seen in /proc/partitions, or the name of a disk device
(ie: /dev/sda).
- - The size parameter can either be a percentage of the disk
to use, or the exact size in megabytes. If size is larger than the
remaining capacity of disk, the remainder of the disk is used.
- - The mountpoint parameter specifies a directory in the
image that should be deployed as a partition on the local disk of a machine.
- -t specifies the filesystem type to create (the default
filesytem type is ext2).
- -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: For ext2 and ext3 filesystems, a disklabel matching
the mountpoint will be created on the filesystem. This label can be used
to auto-mount the filesystem from an initramfs, or can be used in
/etc/fstab to mount by label (ie: LABEL=/).
Directs the mk-diskful script to create and enable a swap
partition of size size on the specified disk.
- - The disk parameter is either a number specifying disk
order as seen in /proc/partitions, or the name of a disk device
(ie: /dev/sda).
- - The size parameter can either be a percentage of the disk
to use, or the exact size in megabytes. If size is larger than the
remaining capacity of disk, the remainder of the disk is used.
- -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.
root
2008-07-08