-
Notifications
You must be signed in to change notification settings - Fork 61
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
What is the CLI invocation for HUBFS instead of NET USE? #8
Comments
Running HUBFS from the command line will print the available options. The command line that |
I looked at the command line settings from there and have been able to ascertain that the step one is to:
When you press [Enter] then you put the token in for authorization. NOTE: After this completes, I noticed that the drive is still not present at this stage. I am working on step 2, now to see what I need to bring up the drive and hold it active from the CLI (i.e. hubfs.exe directly) In General the command is:
But I need to figure out the %1 and %2 variables. I assume that one of them is the mount "H:' (in the example) and the other is the Github repo string, but not sure yet. EXPECT: I would think that the 2nd Step above will start and mount the H: and connect to the Github Repository desired.
But making progress none the less. |
I figured it out for Step 2.
Not really clear what the VolumePrefix option is used for:
QUESTION: Where to get a list of all of the "optional -o" possibilities? In any case, things seemed to work so far. |
Quick question: Can you please explain how the union filesystem part works in HUBFS since I am greatly interested in how it unions different directories? Can HUBFS union multiple repositories and/organizations into an unified directory space under the mounted filesystem? Thanks in advance |
Hello @billziss-gh ,
As an initial test, I installed the "HUBFS 2022 Beta1" (hubfs-win-1.0.22067.msi) and was able to connect to my Github Repo as it shows.
For a second step, I have been able to compile HUBFS in my MSYS2/Mingw x64 to produce the hubfs.exe file.
Now I would like to start up the hubfs.exe in a command prompt with the proper steps to connect to my repo again instead of using the "net use H: ..." command this time to validate that the build was successful.
Can you please show me the CLI options needed to make this work?
Basically, I would like to know what the CLI options that are being used when done with "net use".
Thanks
The text was updated successfully, but these errors were encountered: