Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: Cygpath: Path name conversion Issue Date: Tue, 8 Jun 2004 10:14:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20040608042248.30125.qmail@web20603.mail.yahoo.com> Message-ID: X-OriginalArrivalTime: 08 Jun 2004 09:14:48.0171 (UTC) FILETIME=[0BEC0BB0:01C44D39] > -----Original Message----- > From: cygwin-owner On Behalf Of john george > Sent: 08 June 2004 05:23 > Hi, > I'm trying to convert the following path name to a > unix specific format so that it could be passed as a > parameter to the Unix "open(..)" system call. > cygpath > "\\Device\\harddiskdmvolumes\\physicaldmvolumes\\rawvolume3 > " > The converted path name is not accepted by the > "open()" > system call due to which I'm not able to access this > device. > Actually I'm trying to access a raw volume which I'm > able to do if I use the CreateFile() API in Windows. > I've no clue as to why I'm not able to access this raw > device using the "open().." system call. > Any suggesstions? Have you tried this way yet? \\\\.\\Device\\harddiskdmvolumes\\physicaldmvolumes\\rawvolume3 Not sure but I think that might sort it. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/