xref: /dragonfly/initrd/etc/rcmount_tcplay (revision de78d61c)
1#!/bin/sh
2
3FSTYPE=$2
4MOUNTFROM="/dev/${3#/dev/}"
5VOLUME=$4
6OPTIONS=$5
7
8tcplay -m $VOLUME -d $MOUNTFROM $OPTIONS || return 2
9mount -o ro -t $FSTYPE /dev/mapper/$VOLUME $NEW_ROOT || return 3
10