From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 05:17:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C663816A4BF for ; Mon, 8 Sep 2003 05:17:37 -0700 (PDT) Received: from mail2.bluewin.ch (mail2.bluewin.ch [195.186.4.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBEC143FCB for ; Mon, 8 Sep 2003 05:17:36 -0700 (PDT) (envelope-from raphael@computer-rental.ch) Received: from computer-rental.ch (62.202.66.197) by mail2.bluewin.ch (Bluewin AG 7.0.020) id 3F5704FC000664E6; Mon, 8 Sep 2003 12:17:34 +0000 Date: Mon, 8 Sep 2003 14:14:23 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: rama@uklinux.net From: =?ISO-8859-1?Q?Rapha=EBl_Marmier?= In-Reply-To: <3F5C706B.3050702@ukfsn.org> Message-Id: Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: Alex Zivenko cc: Tadimeti Keshav cc: freebsd-questions@freebsd.org Subject: Re: how to check which COM port modem is connected to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 12:17:37 -0000 Le Lundi, 8 sep 2003, =E0 14:04 Europe/Zurich, Ramanan Selvaratnam a=20 =E9crit : > >> --- Alex Zivenko wrote: > You >> must know it. >> >>> In windows name of port is comx >>> in Unix - /dev/cuax-1 >>> com1 - cua0, com2-cua1, com3 - cua2 >>> Have you win on this PC? Then you can see there. >>> > What would be helpful to know (for future) is where one can find this=20= > detail on MS Windows filesystem once mounted from within a free > = system. > Any clues? > You're not going to like it: AFAIK this is stored in the registery. But=20= you can imagine having a dump of the proper keys done on windows exit=20 (to a flat file). Under windows 2000, you would run that as a logoff=20 script (group policies in the mmc). Under windows 9x, I don't know. I=20 don't know if regedit can work as a command line, but maybe some=20 command line tool exists. Raphael