#1921 Support alternative drive aliases

MSYS
closed
nobody
None
Support
out-of-date
Unknown
False
2013-02-15
2012-09-05
No

I suggest handling "/media/<label>" the same way as "/<drive letter>", maybe allowing to configure the "/media" part to some alternative prefix.

Conflicting labels would have some conciliating suffixes attached in the alias. For instance, if a flash drive labeled "Backup" is mounted on F: by Windows, then the following command lines would be treated the same way by Bash:

$ some-command /f/foobar
$ some-command /media/backup/foobar

Discussion

  • Anonymous - 2012-09-05
    • summary: Support /media/<label> drive aliases --> Support alternative drive aliases
     
  • Earnie Boyd

    Earnie Boyd - 2012-09-05
    • milestone: 307068 --> Waiting_User_Feedback
    • status: open --> pending
     
  • Earnie Boyd

    Earnie Boyd - 2012-09-05

    Why don't you just mount f:/ to /media/backup?

    mount f:/ /media/backup

    Doesn't that work for you? There is no method by which we can determine some arbitrary name for a PnP drive.

     
  • Anonymous - 2012-09-05
    • status: pending --> open
     
  • Anonymous - 2012-09-05

    Cool, it seems to work. If I could find some tool to hook into drive insertions and removals, I could even mount them dynamically on login. As for the drive name, I think there should be some Windows API or surrounding utility to retrieve drive label. I still keep my suggestion, but thanks for the info, makes it better than I thought.

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-15

    Ticket moved from /p/mingw/feature-requests/119/

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-15
    • labels: MSYS -->
    • status: open --> closed
    • milestone: Waiting_User_Feedback --> MSYS
    • type: --> Support
    • resolution: --> out-of-date
    • category: --> Unknown
    • patch_attached: --> False
     

Log in to post a comment.