X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_YW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4DFB4160.50601@gmail.com> References: <4DFB4160 DOT 50601 AT gmail DOT com> Date: Fri, 17 Jun 2011 19:01:59 +0530 Message-ID: Subject: Re: fdisk on cygwin From: PRASANTH RAJAGOPAL To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p5HDWN7Q022405 Oops, I was searching for the package directly in the mirrors! I got it installed now with utils...Thanks! Now I have a problem that the SD card (inserted in to SD slot) is not getting seen from fdisk. A USB stick can be seen though. Note that the card is detected and works properly when accessed from WIndows Vista. I also saw the correct drive J appears in /cygdrive. sda - hdd sdc - usb stick ############################################################ PRajagop AT PRAJAGOP-L02 /usr/sbin $ ./fdisk.exe -ls Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xe7907177 Device Boot Start End Blocks Id System /dev/sda1 1 11891 95506748 7 HPFS/NTFS /dev/sda2 11891 19266 59244544 7 HPFS/NTFS /dev/sda3 * 19266 19458 1536000 7 HPFS/NTFS Disk /dev/sdc: 2000 MB, 2000682496 bytes 64 heads, 63 sectors/track, 969 cylinders Units = cylinders of 4032 * 512 = 2064384 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 969 1953439+ 6 FAT16 PRajagop AT PRAJAGOP-L02 /cygdrive $ ls c d i j k x ############################################################ Why is the SD card device missing with fdisk? Thanks.. On Fri, Jun 17, 2011 at 5:28 PM, Marco atzeri wrote: > On 6/17/2011 1:53 PM, PRASANTH RAJAGOPAL wrote: >> >> Hi, >> >> I used to do run some commands on Cygwin, until I completely moved to >> Linux based development. I have a situation where I thought Cygwin can >> help me. >> > >> If I read mails correctly, the cygwin-1.3.16-1 release has fdisk with >> it (http://sources.redhat.com/ml/cygwin/2002-11/msg01300.html), but it >> was ultimately removed, and perhaps we need to compile now. from >> source. Now, I am not interested in code compilation for time being >> (got to do with a lot of Linux kernel compilation now...); I might >> just buy a cheap Card reader. >> >> Questions (assuming cygwin fdisk can indeed help me partition the SDcard): >> >> 1. Is it true that cygwin-1.3.16-1 haD fdisk, if so where can I find >> that older release setup.exe? >> 2. Is there a way I can get the package to the latest release without >> compilation? >> >> Thanks. > > fdisk is still present > > http://cygwin.com/cgi-bin2/package-cat.cgi?file=util-linux%2Futil-linux-2.17.2-1&grep=fdisk > > no need to look on ancient cywgin versions. > > Marco > > -- > Problem reports:       http://cygwin.com/problems.html > FAQ:                   http://cygwin.com/faq/ > Documentation:         http://cygwin.com/docs.html > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple