CoHWRaidOpen

■Description

In order to access the hardware RAID, first call this function to get the handle.

■Synopsis

int CoHWRaidOpen(const char* dev, void *pv)

■Argument

  const char *dev
    Enter the path of the block device file corresponding to the target RAID board, such as "/dev/sd[a-z]" or "/dev/sgN".

  void *pv
    It is a reserved argument. Please specify NULL.

■RETURN VALUE

If the function succeeds, a valid bundle is returned.
If the function fails, -1 is returned.
For other functions, device control is performed using the handle acquired by this function.



Function List