From owner-freebsd-current Thu Apr 6 07:03:55 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA27333 for current-outgoing; Thu, 6 Apr 1995 07:03:55 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA27324 for ; Thu, 6 Apr 1995 07:03:39 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id AAA22412; Fri, 7 Apr 1995 00:00:00 +1000 Date: Fri, 7 Apr 1995 00:00:00 +1000 From: Bruce Evans Message-Id: <199504061400.AAA22412@godzilla.zeta.org.au> To: rgrimes@gndrsh.aac.dev.com, roberto@blaise.ibp.fr Subject: Re: Label/slices : how to add a disk ? Cc: bde@zeta.org.au, freebsd-current@FreeBSD.org Sender: current-owner@FreeBSD.org Precedence: bulk >> 215 [3:34] root@keltia:~# disklabel -B sd2 >> Bad pack magic number (label is damaged, or pack is unlabeled) >Do what I said with fdisk, then create a file /tmp/foo that looks like >this (only use your numbers): ># /dev/rsd0c: >type: SCSI >disk: MICROP_2112 >label: 15MQ1001901HQ30 >... >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > c: 1966080 0 unused 0 0 # (Cyl. 0 - 959) >Then disklabel -R -B sd2 /tmp/foo I think you can create a suitable /tmp/foo using disklabel /dev/rsd2 >/tmp/foo You'll have to edit the unused (?) rpm and interleave fields to satisfy disklabel(8) and some ASCII fields for printing in bug reports (:-). The driver should initialize a few more fields. Bruce