*BSD News Article 94286


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!news.rediris.es!minerva.ibernet.es!hunter.premier.net!newsfeed.direct.ca!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Disktab for JAZ drive?
Date: 23 Apr 1997 21:40:34 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <5jlvki$4bf@uriah.heep.sax.de>
References: <5iolgl$491$1@nntp2.ba.best.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39621

jedi@best.com (Jay Martel) wrote:

> darkside: {8} disklabel -w sd2 auto
> disklabel: ioctl DIOCWDINFO: No disk label on disk;

Naturally.

> use "disklabel -r" to install initial label
> darkside: {9} disklabel -r sd2
> disklabel: /dev/rsd2c: Undefined error: 0
> darkside: {10} disklabel -r -w sd2 auto
> disklabel: /dev/rsd2c: Undefined error: 0

The latter is the correct command (although you should add -B to avoid
a useless ``No primary partition table'' warning later).  Anyway, i
think you need to destroy the previous fdisk table first in order to
get `disklabel auto' to work on it:

	dd if=/dev/zero of=/dev/rsd2 count=100

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)