-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require('fs').openSync('\\\\.\\PhysicalDrive2', fs.constants.O_RDWR) is broken #54025
Comments
VoltrexKeyva
added
the
fs
Issues and PRs related to the fs subsystem / file system.
label
Jul 25, 2024
This was referenced Aug 6, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Aug 7, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Aug 15, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Aug 15, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Aug 15, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Aug 16, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Oct 31, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Oct 31, 2024
huseyinacacak-janea
added a commit
to JaneaSystems/node
that referenced
this issue
Oct 31, 2024
louwers
pushed a commit
to louwers/node
that referenced
this issue
Nov 2, 2024
Fixes: nodejs#54025 PR-URL: nodejs#54224 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
tpoisseau
pushed a commit
to tpoisseau/node
that referenced
this issue
Nov 21, 2024
Fixes: nodejs#54025 PR-URL: nodejs#54224 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
tpoisseau
pushed a commit
to tpoisseau/node
that referenced
this issue
Nov 21, 2024
Fixes: nodejs#54025 PR-URL: nodejs#55623 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v20.15.1
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
every call
What is the expected behavior? Why is that the expected behavior?
open disk for RW, no error
What do you see instead?
Additional information
I think the problem is in the call of
getValidatedPath()
orpathModule.toNamespacedPath()
in theopenSync()
implementation, which adds an additional backslash to the path, because the error looks likeerror, open '\\.\PhysicalDrive2\'
. Usingnode --expose-internals
it works.
The text was updated successfully, but these errors were encountered: