wine: notepad OK, others not
perryh at pluto.rain.com
perryh at pluto.rain.com
Wed Apr 23 18:15:23 UTC 2008
> > $ 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.
More information about the freebsd-questions
mailing list