Windows boost::filesystem canonical on NTFS network drives mounted in a directory

29 Apr
2020
29 Apr
'20
12:25 p.m.
When on Windows, if you use boost::filesystem::canonical() to resolve a NTFS network drive mounted in a directory, the result is what I see as a useless result. For example: C:\ntfs_mount\other\dirs\file boost::filesystem returns: C:\?VolumeXXX-XXX-XXX-XXX\ other\dirs\file This volume notation is useless as it cannot be passed to any file function. Also, the path is divided by a space to other\dirs. It would be better if canonical does not mess with the network drive at all and returns the directory as is, like boost::filesystem::absolute() does. -- Gonzalo Garramuño
1759
Age (days ago)
1759
Last active (days ago)
0 comments
1 participants
participants (1)
-
gga