function hd test mount prepare
If the device was previously mounted, it will first unmount it from its previous location.
If the block device has the string "ROOT", this function will only create the test directory, without unmounting or mounting any devices or filesystems.
Note that the spec system in Fuego means that the parameters for file system testing are usually defined in the board file, and then selected in the spec file for a particular filesystem variant to be tested (for example testing a filesystem on a USB driver vs. a MMC device.) See Test Specs and Plans for more information.
- $1 - the device node to mount
- $2 - the directory for the mount point