Subject: bin/22491: disklabel doesn't display large sector numbers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kn@hahmann-neuwirth.com>
List: netbsd-bugs
Date: 08/15/2003 11:45:27
>Number: 22491
>Category: bin
>Synopsis: disklabel displays signed ints.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 15 11:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6W
>Organization:
Hahmann & Neuwirth
>Environment:
System: NetBSD amelie 1.6W NetBSD 1.6W (GENERIC) #13: Wed Aug 13 12:13:07 CEST 2003 root@amelie:/home/build/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When using very large volumes, disklabel has a problem to display the
sector fields correctly:
| # /dev/rraid0d:
| type: RAID
| disk: raid
| label: fictitious
| flags:
| bytes/sector: 512
| sectors/track: 224
| tracks/cylinder: 32
| sectors/cylinder: 7168
| cylinders: 478744
| total sectors: -863324928
| rpm: 3600
| interleave: 1
| trackskew: 0
| cylinderskew: 0
| headswitch: 0 # microseconds
| track-to-track seek: 0 # microseconds
| drivedata: 0
|
| 4 partitions:
| # size offset fstype [fsize bsize cpg/sgs]
| a: -863324928 0 4.2BSD 0 0 0 # (Cyl. 0 - 478744*)
| d: -863324928 0 unused 0 0 # (Cyl. 0 - 478744*)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: