[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.