delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/17/10:28:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,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: <BANLkTi=fngVB_+H2zS3bwQ537vuxcMy7ng@mail.gmail.com>
References: <BANLkTikuUTi+o4PpJ70mpYkhJgn-ZkeFxA AT mail DOT gmail DOT com> <4DFB4160 DOT 50601 AT gmail DOT com> <BANLkTi=fngVB_+H2zS3bwQ537vuxcMy7ng AT mail DOT gmail DOT com>
Date: Fri, 17 Jun 2011 19:57:54 +0530
Message-ID: <BANLkTikZ3C0+jnxZf4PeZdX7P9kXPXZZVQ@mail.gmail.com>
Subject: Re: fdisk on cygwin
From: PRASANTH RAJAGOPAL <prasanthris AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p5HESHTv026151

Here is my mount info: *J* is the  SD card in SD slot and & *K* is the
USB stick.

PRajagop AT PRAJAGOP-L02 /proc
$ cat mounts
D:/CYgWin/bin /usr/bin ntfs binary,auto 1 1
D:/CYgWin/lib /usr/lib ntfs binary,auto 1 1
D:/CYgWin / ntfs binary,auto 1 1
C: /cygdrive/c ntfs binary,posix=0,user,noumount,auto 1 1
D: /cygdrive/d ntfs binary,posix=0,user,noumount,auto 1 1
I: /cygdrive/i udf binary,posix=0,user,noumount,auto 1 1
J: /cygdrive/j vfat binary,posix=0,user,noumount,auto 1 1
K: /cygdrive/k vfat binary,posix=0,user,noumount,auto 1 1
X: /cygdrive/x ntfs binary,posix=0,user,noumount,auto 1 1

On Fri, Jun 17, 2011 at 7:01 PM, PRASANTH RAJAGOPAL
<prasanthris AT gmail DOT com> wrote:

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

############################################################

> On Fri, Jun 17, 2011 at 5:28 PM, Marco atzeri <marco DOT atzeri AT gmail DOT com> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019