Author steve.dower
Recipients eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-08-15.21:48:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565905714.51.0.712455600857.issue37834@roundup.psfhosted.org>
In-reply-to
Content
So for an actual non-root mount point, ntpath.ismount() returns True and with IO_REPARSE_TAG_MOUNT_POINT included ntpath.islink() also returns True. nt.readlink() returns the "\\?\Volume{GUID}\" path

Root mount points ("C:\\", etc.) do not return true for islink()

os.rename() and os.unlink() work on non-root mount points, but not on root mount points. So there is at least some value in being able to detect "this is a root mount point that acts like a file".

I'm not seeing why having both islink() and ismount() be true in this case is a problem.
History
Date User Action Args
2019-08-15 21:48:34steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun
2019-08-15 21:48:34steve.dowersetmessageid: <1565905714.51.0.712455600857.issue37834@roundup.psfhosted.org>
2019-08-15 21:48:34steve.dowerlinkissue37834 messages
2019-08-15 21:48:34steve.dowercreate