Possible Bug in /proc/partitions ??

Bengt-Arne Fjellner Bengt-Arne.Fjellner@ltu.se
Wed Jun 22 16:28:00 GMT 2005


Corinna Vinschen skrev:
> On Jun 21 09:14, Chris January wrote:
>> Bengt-Arne Fjellner wrote:
>>
>> > either /proc/prtitions has something wrong or i have.
>> > This is how it looks.
>> > $ cat /proc/partitions
>> > major minor  #blocks  name
>> >
>> >     8     0  19535040 sda    OK
>> >     8    16  78124095 sdb    OK
>> >     8    17     56196 sdb1   OK
>> >     8    18  61978770 sdb2   OK
>> >     8    19    514080 sdb3   OK
>> >     8    20  15575017 sdb4   extended no name??
>> >     8    21  14546826 sdb5   found as sdb4
>> >     8    22   1020127 sdb6   extended no name??
>> >     8    25   1020096 sdb9   found as sdb5
>> >     8    32 120624052 sdc    OK
>> >     8    33 120624021 sdc1   OK
>> >     8    48  58613152 sdd    OK
>> >     8    49  58613121 sdd1   OK
>> >     8    65    253984 sde1   extended no name??
>> >     8    69   2062305 sde5   found as sde1
>> >
>> >
>> > I dont think that the extended partitions should have a device??
>> > and i find the other partitions as i have stated.
>>
>>
>> Thanks for the bug report. I will look into this when I get the time.
>> Incidentally, do you know what Linux's behaviour is in this regard, i.e.
>> if you run the same command on Linux (if you have it installed), what is
>> the result?
>
> This should be solved in CVS.  I've applied a patch yesterday.
>
Works with 2005-Jun-21   snapshot.
$ cat /proc/partitions
major minor  #blocks  name

    8     0  19535040 sda
    8    16  78124095 sdb
    8    17     56196 sdb1
    8    18  61978770 sdb2
    8    19    514080 sdb3
    8    20  14546826 sdb4
    8    21   1020096 sdb5
    8    32 120624052 sdc
    8    33 120624021 sdc1
    8    48  58613152 sdd
    8    49  58613121 sdd1
    8    64    506047 sde
    8    65    507632 sde1


All OK. Thanks.

-- 
Bengt-Arne Fjellner
0910-58 53 69



--
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/



More information about the Cygwin mailing list