delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/07/15:33:22

X-Spam-Check-By: sourceware.org
Date: Wed, 7 Dec 2005 21:33:06 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Size difference reported by /proc/partitions and lseek(SEEK_END) on block device
Message-ID: <20051207203304.GE2999@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E05F1FD208D5AA45B78B3983479ECF0856C0F6 AT saturn DOT p3corpnet DOT pivot3 DOT com> <20051207181259 DOT GC2999 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20051207181259.GC2999@calimero.vinschen.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

On Dec  7 19:12, Corinna Vinschen wrote:
> On Dec  7 11:17, Loh, Joe wrote:
> > major minor  #blocks  name
> > 
> >     8     0  78124095 sda
> >     8     1  15358108 sda1
> >     8     2    104422 sda2
> >     8     3  16386300 sda3
> 
> The reason that /proc/partition contains wrong information is that
> the /proc/partition information uses an old, deprecated IOCTL call
> to evaluate the disk size by # of cylinders, # of tracks per sektor,
> etc.  I didn't fix that so far but it's not overly complicated, so
> stay tuned.

This should be fixed now, too, in CVS.  Please try the next developers
snapshot.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


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