lcfg-fstab - LCFG fstab component
The object partitions disks and maintains the /etc/fstab file.
The /etc/fstab is first constructed from the partition information
specified for the hard disks described by the disks and
partitions_disk resources. The entries resource is then
used to add additional fstab entries.
The adddisk method is used to add a new disk to the system. It
will (optionally) partition the disk, make the filesystems
and create /etc/fstab entries. It is called implicitly by
the preparedisks method at system install time, but can be called
manually thereafter to add new disks.
The mountdisks and umountdisks methods can be used to mount
or unmount all configured disks. These are only intended for use
when running the installroot for machine debugging/patching.
A list of disks attached to this machine.
This resource, if set to no, will stop the component
from partitioning the disk disk.
A list of partitions for I<disk>. A disk can only have primary partitions (up to 4). Extended and logical partitions are not yet supported - the disk should be partitioned manually if these are required.
The size of the specified partition. The partition size can be given in
megabytes, or be set to free to indicate that the partition should use
up remaining disk space or be set to <existing>
to indicate that the partition size and location should not be changed.
The type of filesystem of the specified partition. Currently supported
partition types are ext2, ext3, raid and swap. Alternatively,
a numeric ID can be used to specify the partition type.
The mount point for the filesystem on the specified partition.
Determines how the component should behave when the mount point
already exists and is populated with files. Setting this resource to
fail will cause a failure, ignore will ignore prexisting files and
zap will delete any prexisting files.
Describes any mount options for the filesystem associated with the specified entry or partition.
Describes the fsck passno for the specified entry or partition.
This resource, if set to yes, indicates that the component
should not rebuild the filesystem when the adddisk method
is invoked.
The program to create the file system (or whatever) in the specified partition.
Any options to pass to the appropriate tool (eg mke2fs) for building the specified partition.
A list of additional <fstab> entries.
Describes the block special device or remote filesystem associated with the specified entry.
Describes the mount point for the specified entry.
Describes the type of filesystem for the specified entry.
Describes any mount options for the filesystem associated with the specified entry or partition.
Describes the dump frequency for the specified entry.
Describes the fsck passno for the specified entry or partition.
A list of extra entries for /etc/updfstab.conf.
An entry can be either a device, upfdef_tag
or an include file of further definitions
updfile_tag.
A list of line references for the specified device.
An individual line for the specified device.
Alastair Scobie <ascobie@inf.ed.ac.uk>
Fedora5, Fedora6, Scientific5, Fedora12