delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/04/13/00:11:05

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-Id: <199904130410.XAA00245@modi.xraylith.wisc.edu>
X-Authentication-Warning: modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol
To: Chris Faylor <cgf AT cygnus DOT com>
cc: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: struct stat st_dev question
In-reply-to: Your message of "Mon, 12 Apr 1999 21:04:38 EDT."
<19990412210438 DOT D2833 AT cygnus DOT com>
Date: Mon, 12 Apr 1999 23:10:55 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Chris Faylor <cgf AT cygnus DOT com> writes:
> On Mon, Apr 12, 1999 at 09:01:55PM -0400, Chris Faylor wrote:
> >Hmm.  st_dev should be a disk's volume serial number, at least
> >from my reading of the code in fhandler.cc.
> >
> >If it's always returning 4096, that's a bug.
> 
> Actually recent snapshots do not return 4096.
> 

Thanks for checking. 

In the meantime, I'll submit a patch to egcs that handles the current 
release. It'll continue to work with b21 since it uses a different 
scheme (/cygdrive instead //<drive> if I remember correctly), so it's 
pretty safe. 

fyi, these problems came up when trying to change the pathname scheme
in egcs to POSIX only for Cygwin as we had discussed earlier.

Regards,
Mumit

- Raw text -


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