Technical data

4. Packages
4.9.2. OPT_MOUNT - Automatic Mounting Of Filesystems
OPT_MOUNT mounts data partitions created during installation to /data, file system checks
will be performed automatically when needed. CD-ROMs will be mounted to /cdrom if a CD
is inserted. For swap-partitions OPT_MOUNT is not needed!
OPT_MOUNT reads the configuration file hd.cfg on the boot-partition and
mounts partitions mentioned there. If OPT_MOUNT was transferred via remote update
to an already installed router this file has to be edited manually.
While booting from CD-ROM OPT_MOUNT can’t be used. The CD may be
mounted by setting MOUNT_BOOT=’ro’.
The file hd.cfg on the DOS-partition for a router according to type B with swap and data
partition looks like this (example):
hd_boot='sda1'
hd_opt='sda2'
hd_swap='sda3'
hd_data='sda4'
hd_boot_uuid='4A32-0C15'
hd_opt_uuid='c1e2bfa4-3841-4d25-ae0d-f8e40a84534d'
hd_swap_uuid='5f75874c-a82a-6294-c695-d301c3902844'
hd_data_uuid='278a5d12-651b-41ad-a8e7-97ccbc00e38f'
Just omit non-existent partitions, a router according to type A without further partitions
looks like this:
hd_boot='sda1'
hd_boot_uuid='4863-65EF'
4.9.3. OPT_EXTMOUNT - Manual Mounting Of File Systems
OPT_EXTMOUNT mounts data partitions to any chosen mountpoint in file system. This
allows to mount file systems created manually and for example provide a rsync-server directory.
EXTMOUNT_N Number of manually created data partitions to be mounted.
EXTMOUNT_x_VOLUMEID Device, label or UUID of the volume to be mounted. By
executing ’blkid’ device, label and UUID of all volumes can be displayed.
EXTMOUNT_x_FILESYSTEM The file system used for the partition. fli4l supports isofs,
fat, vfat, ext2, ext3 und ext4 at the time of writing.
(The default setting EXTMOUNT_x_FILESYSTEM='auto' automatically tries to determine
the file system used.)
EXTMOUNT_x_MOUNTPOINT The path (Mountpoint) to where the device should be
mounted. It does not have to exist and will be created automatically.
121