Subject: port-hpcmips/9146: fdisk/disklabel
To: None <gnats-bugs@gnats.netbsd.org>
From: None <shawn@eecs.harvard.edu>
List: netbsd-bugs
Date: 01/08/2000 03:09:34
>Number:         9146
>Category:       port-hpcmips
>Synopsis:       fdisk/disklabel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer (NetBSD/hpcmips Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan  8 03:09:00 2000
>Last-Modified:
>Originator:     Pai-Hsiang Hsiao
>Organization:
Harvard University
>Release:        1.4P
>Environment:
NetBSD mipsce 1.4P NetBSD 1.4P (MIPSCE) #4: Thu Jan  6 02:38:25 PST 2000     root@moriarty:/usr/hpcmips/usr/src/sys/arch/hpcmips/compile/MIPSCE hpcmips

>Description:

After using `fdisk' to create a NetBSD partition and MSDOS partition on compact flash, a following `disklabel -R -r' will erase the partition table on that.


>How-To-Repeat:

> fdisk
> disklabel /dev/wd0d > foo
> disklabel -R -r /dev/wd0d foo
>Fix:

One workaround is to add -DSAVEBOOTAREA
>Audit-Trail:
>Unformatted: