Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2008 10:39:31 -0700
From:      perryh@pluto.rain.com
To:        roberthuff@rcn.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: wine: notepad OK, others not
Message-ID:  <480f7453.t/CzN1qy86kEiTju%perryh@pluto.rain.com>
In-Reply-To: <18447.9795.740549.897224@jerusalem.litteratus.org>
References:  <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <18362.56078.951095.162984@jerusalem.litteratus.org> <480a9dff.Xi5QQIoFO6uXZXhI%perryh@pluto.rain.com> <200804201359.36883.tijl@ulyssis.org> <480ed31a.HvK8tbgcrTzAxWiD%perryh@pluto.rain.com> <18447.9795.740549.897224@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> >    $ ls -la .wine/dosdevices
> >    total 4
> >    drwxr-xr-x  2 perryh  staff  512 Apr 21 00:17 .
> >    drwxr-xr-x  4 perryh  staff  512 Apr 22 21:07 ..
> >    lrwxr-xr-x  1 perryh  staff    8 Apr 21 00:17 a:: -> /dev/fd0
>
> 	Is the second colon intentional

Yes!  That is exactly what the manpage says to do, so as to have
wine use a *device* rather than a node in the Unix filesystem:

  $WINEPREFIX/dosdevices
    Directory  containing the DOS device mappings. Each file in that
    directory is a symlink to the Unix device  file  implementing  a
    given  device.  For  instance,  if  COM1 is mapped to /dev/ttyS0
    you'd have a symlink of the form $WINEPREFIX/dosdevices/com1  ->
    /dev/ttyS0.
    DOS  drives  are  also  specified with symlinks; for instance if
    drive D: corresponds to the CDROM mounted at  /mnt/cdrom,  you'd
    have a symlink $WINEPREFIX/dosdevices/d: -> /mnt/cdrom. The Unix
>>  device corresponding to a DOS drive can be  specified  the  same
>>  way,  except with '::' instead of ':'. So for the previous exam-
>>  ple, if the CDROM device is mounted from  /dev/hdc,  the  corre-
>>  sponding   symlink   would   be   $WINEPREFIX/dosdevices/d::  ->
>>  /dev/hdc.

Presumably this method is provided so that wine can be given access
to a removable device without a particular disk having to be mounted.
It would be, at the least, inconvenient to have to mount and unmount
a sequence of 5 floppies to do this installation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480f7453.t/CzN1qy86kEiTju%perryh>