Storage

Utilities for storage handling

Functions

storage_mount(storage_device, storage_dir)

Waits for storage_device to appear and be ready, and then mounts it to storage_dir and ensure it is mounted on reboot by adding it to /etc/fstab.

example

storage_mount "/dev/sdb1" "/data1"