This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fdisk on cygwin


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

PRajagop@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@gmail.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@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@PRAJAGOP-L02 /cygdrive
$ ls
c  d  i  j  k  x

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]