How to get device for drive letter?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jbrown

How to get device for drive letter?

Post by jbrown »

In .wine/dosdevices I have links

d: -> /some_path
d:: -> /dev/some_device

How can I get the device name (/dev/some_device) in a Wine program for drive (letter) D: ? Is there an API-Call?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to get device for drive letter?

Post by vitamin »

jbrown wrote:How can I get the device name (/dev/some_device) in a Wine program for drive (letter) D: ? Is there an API-Call?
Look at the output from 'mount' command.
Locked