WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] vscsi and symlinks

(Adding xen-devel back since I guess you didn't mean to drop)

On Mon, 2011-02-07 at 09:43 +0000, James Harper wrote:
> I think target isn't always a file. It can be a scsi ID like 0:1:2:3.
> I think it can be other types of specifier too.

OK. So perhaps:

if os.path.islink(target):
        target = os.path.realpath(target)

?

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel