NetBSD-Bugs archive

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

port-evbarm/47688: distrib/utils/embedded/conf/evbarm.conf has wrong RAW_PART

>Number:         47688
>Category:       port-evbarm
>Synopsis:       distrib/utils/embedded/conf/evbarm.conf has wrong RAW_PART
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 24 14:40:01 +0000 2013
>Originator:     Izumi Tsutsui
>Release:        NetBSD -current around 20130320
System: NetBSD 6.99.17
Architecture: arm
Machine: evbarm
distrib/utils/embedded/conf/evbarm.conf will create a disklabel
as following:
8 partitions:
#     size         offset        fstype [fsize bsize cpg/sgs]
 a:   ${asize}     ${aoffset}    4.2BSD  ${fsize} ${bsize} 0  # 
 b:   ${swapsize}  ${swapoffset} swap                         #
 d:   ${totalsize} 0             unused      0     0          #
 e:   ${bootsize}  ${bootoffset} MSDOS                        #
but on evbarm RAW_PART is 2 (derived from <arm/disklabel.h>)
so it should have partition c: instead of d:.

Code inspection.

Just change d: to c:?
Should consider about compatibility against x86 ports?
(or tools disklabel(8) is enough?)

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index