Description: Checks if the input value is a valid device name for a HD drive or partition or a RAID.
Parameter:
- devName: Device name to check.
- partition: Set to true if you want to check for a partition.
- diskOrPartition: Set to true, if a disk or partition should be valid. This overwrites the parameter "partition".
- raidAllowed: Set to true, if RAIDs are allowed too.
Returns:
- The input value is a valid drive, partition or RAID or false on an error.
root
2015-09-06