NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm/47463: ARM's disksubr_mbr.c is broken for non MBR disk.
The following reply was made to PR port-arm/47463; it has been noted by GNATS.
From: Masanobu SAITOH <msaitoh%execsw.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-arm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, msaitoh%execsw.org@localhost
Subject: Re: port-arm/47463: ARM's disksubr_mbr.c is broken for non MBR disk.
Date: Fri, 18 Jan 2013 11:33:57 +0900
Bad Example:
> # disklabel sd0
> # /dev/rsd0c:
> type: SCSI
> disk: USB2FlashStorage
> label: fictitious-MBR
> flags: removable
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 8
> sectors/cylinder: 256
> cylinders: 500
> total sectors: 15794176
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # microseconds
> track-to-track seek: 0 # microseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> c: 15794176 0 unused 0 0 # (Cyl. 0 -
> 61695)
> e: 1851859059 1936028272 unknown # (Cyl. 7562610+-
> 14796434+)
> f: 538976288 1330184192 unknown # (Cyl. 5196032+-
> 7301408+)
> g: 1398362912 538989391 unknown # (Cyl. 2105427+-
> 7567782+)
> h: 21337 1394627663 unknown # (Cyl. 5447764+-
> 5447847+)
> disklabel: boot block size 0
> disklabel: super block size 0
> disklabel: partition e: offset past end of unit
> disklabel: partition e: partition extends past end of unit
> disklabel: partitions e and g overlap
> disklabel: partition f: offset past end of unit
> disklabel: partition f: partition extends past end of unit
> disklabel: partitions f and g overlap
> disklabel: partitions f and h overlap
> disklabel: partition g: offset past end of unit
> disklabel: partition g: partition extends past end of unit
> disklabel: partitions g and h overlap
> disklabel: partition h: offset past end of unit
> disklabel: partition h: partition extends past end of unit
> #
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index