- Version: v7.7.1
- Platform: Windows 10 64-bit (14393.693)
- Subsystem:
fs
fs.link('src.txt', 'dst.txt') fails when src.txt is on a ReFS partition. The error is:
Error: ENOTSUP: operation not supported on socket, link 'F:\test\src.txt' -> 'F:\test\dst.txt'
at Object.fs.linkSync (fs.js:1063:18)
at repl:1:4unction],
at ContextifyScript.Script.runInThisContext (vm.js:23:33)
at REPLServer.defaultEval (repl.js:336:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
at REPLServer.onLine (repl.js:533:10)
at emitOne (events.js:101:20)
at REPLServer.emit (events.js:191:7),
at REPLServer.Interface._onLine (readline.js:238:10)
I have verified this on two separate Windows 10 systems. On each system, the same call succeeds on an NTFS partition.
I tried various other calls within the fs module (writeFile, readFile, stat, lstat, rename), and they all worked as expected.
fsfs.link('src.txt', 'dst.txt')fails whensrc.txtis on a ReFS partition. The error is:I have verified this on two separate Windows 10 systems. On each system, the same call succeeds on an NTFS partition.
I tried various other calls within the
fsmodule (writeFile,readFile,stat,lstat,rename), and they all worked as expected.