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 Message-ID: <20040603122108.53223.qmail@web20608.mail.yahoo.com> Date: Thu, 3 Jun 2004 05:21:08 -0700 (PDT) From: john george Subject: How to access Raw Volumes in Cygwin Environment To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Hi, I'm trying to open a raw volume which I created using the microsot diskpart utility.This volume resides on the second disk(Which is a dynamic disk)which is attached to my system. I am able to access the first disk (which is a basic disk) and it's partition using open system call as follows: open( /dev/sda , O_CREAT|O_WRONLY,0644) ;(Whole disk) open( /dev/sda1 , O_CREAT|O_WRONLY,0644) ; Partition 1 open( /dev/sda2 , O_CREAT|O_WRONLY,0644) ; Partition 2 But I am not able to access the dynamic disk using the same open( /dev/sdb , O_CREAT|O_WRONLY,0644) ;(Whole disk) (This works fine) open( /dev/sdb1 , O_CREAT|O_WRONLY,0644);(First Volume) open( /dev/sdb2 , O_CREAT|O_WRONLY,0644);(First Volume) (Doesn't work) My concerns: 1)Are raw volumes which resides on a dynamic disk accessible through Cygwin. 2)Is there any other device file notation scheme that is followed for dynamic volumes ( /dev/sd? or /dev/something) Any suggesstions? Thanks. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ -- 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/