svenstaro/miniserve

Cannot serve on ramdisk

Izumiko opened this issue · 2 comments

I created a ramdisk with ImDisk, labeled as Z:. Then I encountered the following problems:

Z:\>miniserve .
13:48:32 [ERROR] Failed to resolve path to be served
13:48:32 [ERROR] caused by: 函数不正确。 (os error 1)
Error: Failed to resolve path to be served
caused by: 函数不正确。 (os error 1)

Any subpath of the ramdisk cannot be served.

Hm no idea about this. Is there anything special about ramdisks on Windows?

No idea either. Maybe the simulated disk lacks some features? I'll avoid starting miniserve on ramdisk.