/dev/mapper/<name>
) as any other block device. To create an ext2
filesystem on the mapped device, use the following command:
mke2fs /dev/mapper/<name>
/mnt/test
, use the following command:
/mnt/test
must exist before executing this command.
mount /dev/mapper/<name> /mnt/test