Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Cygwin on Windows 7. When I plug in an USB stick, the drive automatically gets mounted to /cygdrive/x . This is good and really easy to use.

My problem is that the drive letter changes sometimes, and when I've got remotes set up in git - I've got one called usb at /cygdrive/h/ - this sometimes doesn't work and I have to change the remote URL. That's just an example, there are other scenarios where I wouldn't want it to change.

I like what the Mac does, and puts mounts a volume at /Volumes/STICK (STICK is the Volume name of my usb stick). Is there any way I can do this, or something similar under Cygwin.

Thanks

share|improve this question

migrated from stackoverflow.com Jan 31 '11 at 22:57

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

up vote 3 down vote accepted

You could use the USB Drive Letter Manager to mount your thumbdrives to a NTFS folder using the drive's label.

share|improve this answer
add comment

As an alternative, I have found that if you explicitly set a drive letter in Disk Management (Start->Programs->Administrative Tools->Computer Management-->Disk Management) it will 'try' to remount at the same letter every time. I usually pick a mid-aphabet letter, like L: or N:, so that the likelihood of an auto-mount using that letter is minimized.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.