Closed
Description
What version of Go are you using (go version
)?
1.14.4
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
Windows
What did you do?
$vhd = New-VHD -Path Test.vhdx -SizeBytes 3MB -Fixed
$vhd | Mount-VHD
$vhd = Get-VHD Test.vhdx # refresh IsAttached etc
$vhd | Get-Disk | Initialize-Disk -PartitionStyle GPT
$part = $vhd | Get-Disk | New-Partition -UseMaximumSize -AssignDriveLetter:$false
$vol = $part | Format-Volume -FileSystem NTFS
mkdir Test
$part | Add-PartitionAccessPath -AccessPath "$PWD\Test"
package main
import ("path/filepath"; "fmt")
func main() {
p, err := filepath.EvalSymlinks("Test")
if err != nil { panic(err) }
fmt.Println(p)
}
What did you expect to see?
"$PWD\Test"
What did you see instead?
EvalSymlinks: too many links