-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
ImDisk RAM disk not shown on Windows even with -all #81
Comments
Is it shown in command |
No, Diskovery (from https://diskovery.io/ ) also doesn't show the ram drive but from its display (by the volume path GUIDs) I can tell the two mountpoints without letters are partitions on the C drive at the start (one is EFI, one is recovery) so they're not the ram disk. |
Maybe MinGW(git bash, MSYS) made some kind of logical virtualization for RAM disk. But busybox-w32 claimed that it uses WIN32 API directly. I will do further research for this issue. |
They do do something extra: But there is also bit set in WinAPI's |
Just for my own use I did it this way: FRex@2b7d398 It's a bit of a hack and copy paste, and it made me get Go 1.15 (I had 1.14, I think using |
I think |
What do you mean by more compatibility? And yes, a bit is set for each lettered[0] drive, so without the [0] by lettered I mean mounted as a letter itself like C:, D:, and not mounted in some folder path. |
Instead of a bitmap like |
I know of it, but how would they extend it if there is just letters from A to Z and the solution to have more drives is mounting them in folders? Add non-latin letters? 🤔
And I remember If you're set on it I can make a PR with |
Well, nobody knows how Microsoft would extend drive letters. But on the other hand, maybe |
I will check in the evening, and rewrite my commit to use it instead of the bitmap. |
I'm sorry that I can't check it by myself now. I'm currently on vacation, and I didn't take a Windows device with me. |
|
Totally agree, it's not worth using |
Iterating "A" to "Z" instead of numbers, putting appendLogicalDrives last (there could be a comment for why this exists, even mentioning ImDisk by name as example, and to explain why it has to be last to not duplicate drives, I left a comment in the PR about that) and deduplicating the getMount function are all good. But why is now The RAM Disk also has empty field |
It was my mistake that I confused |
As in the title: the OS SSD, internal HDD and external USB 3.0 HDD are all shown correctly, but this ram disk (formatted to NTFS of course) is not, not even with
-all
.This RAM disk is shown by the
df
command (I tried the one that came with git bash, the one that is in msys directory of Haskell Platform and the one in a Windows build of busybox, all three show it).The text was updated successfully, but these errors were encountered: