fa.netbsd.bugs
[Top] [All Lists]

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

Subject: Re: port-amd64/42091: ld devices can't be set up with more than 2^31 sectors
From: "Jonathan A. Kollasch"
Date: Wed, 18 Nov 2009 19:55:18 UTC
Newsgroups: fa.netbsd.bugs

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

From: "Jonathan A. Kollasch" <jakllsch@xxxxxxxxxxxx>
To: gnats-bugs@xxxxxxxxxx
Cc: 
Subject: Re: port-amd64/42091: ld devices can't be set up with more than
 2^31 sectors
Date: Wed, 18 Nov 2009 19:52:55 +0000

 This looks like it could be caused by disklabel(8)'s getnum() returning
 'int'.  This function seems to only be used in interactive (-i) mode,
 so maybe -e mode would work.
 
 In any case, the disklabel can only hold 32-bit sector counts and offsets.
 So, until 2TiB+ disks come about (IOW the next generation of disks),
 we're mostly fine.
 

<Prev in Thread] Current Thread [Next in Thread>