Closed katcherw closed 4 years ago
@katcherw Hi,
Localhost can only be used by sharing the drive by the windows interface. The /u option allows you to use another name like \myfs\dokan1
Have you tried something else than Localhost?
Thanks for the response. I tried \myfs\dokan1, and I see a network drive called that assigned to z:. I can't use the explorer to navigate to \myfs\dokan1 though.
Maybe I'm misunderstanding what this option does. What I'd like to do is export a dokan file system over the network so it can be accessed by other clients. Is there a way to do that?
@katcherw Yes that's different. You need to share the drive with the normal windows API / interface on the drive property.
Okay, I see. Just out of curiosity, what is the use of the network option? Why not just access the drive using the drive letter instead of the UNC path?
@katcherw Some people prefer to have the drive visible as network drive just to make a difference with local drive for the user and the UNC name to divide (brand?) even more
Okay, I understand. Thanks for the help!
Environment
Check List
Description
I am trying to configure Dokany to export a file system with a UNC path. I have tried and failed with both mirror and memfs. My command line is the following:
memfs.exe /d /l z /n /u \localhost\myfs
When I use the FS from z:, it works fine. But when I try to access it using \localhost\myfs, I get an error:
I also don't see the drive in \localhost. I have also tried entering my hostname instead of localhost with the same result. Also, I have the same problem using mirror.exe.
In the debug output, I see \localhost\myfs going to Dokany:
Create 0015
[2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs\desktop.ini with node: false [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs\desktop.ini is a File [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs\desktop.ini OPEN_EXISTING CreateFile status = c0000034
Create 0016
[2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs with node: false [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs is a File [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs OPEN_EXISTING CreateFile status = c0000034
Create 0017
[2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs with node: false
Create 0018
[2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs is a File [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs OPEN_EXISTING CreateFile status = c0000034 [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs with node: false [2020-06-30 19:28:45.266] [info] CreateFile: \localhost\myfs is a Directory CreateFile status = c0000034
Create 0019
[2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs with node: false [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs is a File [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs OPEN_EXISTING CreateFile status = c0000034
Create 0020
Create 0021
[2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs with node: false [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs is a File [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs with node: false [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs OPEN_EXISTING CreateFile status = c0000034 [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs is a File [2020-06-30 19:28:45.267] [info] CreateFile: \localhost\myfs OPEN_EXISTING CreateFile status = c0000034
Full log file: memfs.log
What am I doing wrong?