This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Size difference reported by /proc/partitions and lseek(SEEK_END) on block device
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/