From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 18:15:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71D5D106566C for ; Wed, 23 Apr 2008 18:15:23 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 394208FC15 for ; Wed, 23 Apr 2008 18:15:23 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m3NIFMnd052656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Apr 2008 11:15:22 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m3NIFMo5052655; Wed, 23 Apr 2008 11:15:22 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA00230; Wed, 23 Apr 08 10:41:15 PDT Date: Wed, 23 Apr 2008 10:39:31 -0700 From: perryh@pluto.rain.com To: roberthuff@rcn.com Message-Id: <480f7453.t/CzN1qy86kEiTju%perryh@pluto.rain.com> 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> In-Reply-To: <18447.9795.740549.897224@jerusalem.litteratus.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: wine: notepad OK, others not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 18:15:23 -0000 > > $ 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.