Skip to content
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

rclone mount Windows: Provide drive label #2679

Closed
chrissv opened this issue Oct 21, 2018 · 4 comments
Closed

rclone mount Windows: Provide drive label #2679

chrissv opened this issue Oct 21, 2018 · 4 comments
Milestone

Comments

@chrissv
Copy link

chrissv commented Oct 21, 2018

What is your current rclone version (output from rclone version)?

rclone v1.43.1

  • os/arch: windows/amd64
  • go version: go1.11

What problem are you are trying to solve?

When running "rclone mount" in Windows, the resulting drive shows up with the label "Local Disk"
If there are multiple rclone remotes mounted, it is difficult to tell them apart.
In windows, you can name a drive (by clicking on the name by the drive letter).

Side note: It seems I can rename a mounted rclone drive. But it appears Windows associates the name with the drive letter, instead of the rclone remote name. So if I mount a different remote on the same drive letter, the old name shows up - not desired operation.

This request is to let me provide the Windows drive name with the "rclone mount" command.
Even if I change the name after the remote is mounted, the next time I mount the remote, I want it to use the provided label.

How do you think rclone should be changed to solve that?

By a command-line argument:
rclone mount --label="MyDriveName" remote: F:

@ncw ncw added this to the v1.45 milestone Oct 21, 2018
@ncw
Copy link
Member

ncw commented Oct 21, 2018

Rclone has a --volname flag for this purpose which didn't work on Windows. It turns out it was really easy to make it work on Windows - can you have a go with this?

https://beta.rclone.org/branch/v1.44-006-g7c270b74-fix-2679-windows-volname-beta/ (uploaded in 15-30 mins)

@chrissv
Copy link
Author

chrissv commented Oct 21, 2018

My apologies I did not notice the --volname flag. But as you mentioned, it didn't work in Windows, so this would have been a bug report instead of a feature request.

I tried the beta you provided, and it fixes the problem 100%, and operates as I intended.

Good job!

@ncw
Copy link
Member

ncw commented Nov 12, 2018

Oops I forgot to merge this.

It will be in the latest beta in 15-30 mins and in the v1.45 release

@chrissv
Copy link
Author

chrissv commented Nov 13, 2018

Sounds good. I was wondering why I didn't see this fixed in the recent beta versions.
I just verified the fix in rclone v1.44-081-gb3704597-beta

poundifdef pushed a commit to poundifdef/rclone that referenced this issue Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants