On 05/10/2012 03:28 PM, Einav Cohen wrote:
From talking to Ayal, the path can be similar in its format to a
path provided when creating an NFS storage domain (e.g. "server:/dir1/dir2"),
*or* to a path provided when creating a Local storage domain (e.g. "/tmp/dir3"),
meaning, without ":".
@Ayal - any chance for a clarification here?
For generality i am not sure we want to validate this field other than
ensuring it contains a non-empty string. Different file systems have
different ways in which they specify the block device. Another common
form to identify a block device is for example:
UUID=<xxxxxxx>
Or a file server list:
server1:/path,server2:/path
Trying to list all possible formats for all possible file systems is
IMHO not something that we should try to do.
Regards,
Geert