From owner-freebsd-current Thu Dec 21 12:11:48 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA04730 for current-outgoing; Thu, 21 Dec 1995 12:11:48 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA04716 for ; Thu, 21 Dec 1995 12:11:39 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id HAA02300; Fri, 22 Dec 1995 07:07:02 +1100 Date: Fri, 22 Dec 1995 07:07:02 +1100 From: Bruce Evans Message-Id: <199512212007.HAA02300@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, j@uriah.heep.sax.de Subject: Re: disklabel -r -w rz2 rzxx Sender: owner-current@FreeBSD.ORG Precedence: bulk >> It already does. The known parameters are available for the whole >> drive and can easily be used for dangerously dedicated drives, e.g., >> >> disklabel /dev/rsd0 | >> sed -e 's/^rpm: 0$/rpm: 3600/' -e 's/^interleave: 0$/interleave: 1/' | >> disklabel -R -r /dev/rsd0 /dev/stdin >> >> Here the sed commands substitute some of the unknown values with >> possibly-bogus but working values. >Hmm, interesting. For which devices? All those whose size can be determined automatically: wd (except for old drives), sd, vn. >Short of a real empty disk to test with, i've only been playing with >vn devices :), and all i've got was: >Dec 21 00:19:43 uriah /kernel: vn0: invalid primary partition table: no magic >... This is normal. It might be necessary to start with a clean MBR with no magic. I created a vn file by dd'ing from /dev/zero so it was very clean. >(I would have played with floppies, too, but i realized that they are >not even supposed to work. Though it's probably not a big deal to >make them work.) We never committed the support for them. I tested with floppies here. Bruce