NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/42091: ld devices can't be set up with more than 2^31 sectors



The following reply was made to PR port-amd64/42091; it has been noted by GNATS.

From: Stephen Borrill <netbsd%precedence.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/42091: ld devices can't be set up with more than 2^31
 sectors
Date: Wed, 25 Nov 2009 10:22:01 +0000 (GMT)

 This is only a problem in the interactive part of disklabel(8) 
 (as shown by the fact that jakllsch's patch is for interact.c). It's not a 
 problem with the disklabel itself (which was dsl's reason for closing).
 
 If you hand-edit a disklabel and restore with disklabel -R it works fine.
 
 I'd be tempted to use daddr_t throughout and then check against UINT32_MAX 
 when coming to write out the label (or at various other times when a 
 warning would be appropriate).
 


Home | Main Index | Thread Index | Old Index