*BSD News Article 17683


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!gatech!usenet.ufl.edu!usenet.cis.ufl.edu!caen!destroyer!news.itd.umich.edu!tiamat.umd.umich.edu!crt
From: crt@tiamat.umd.umich.edu (Rob Shady)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [NetBSD] Problem with disklabel'ing a 2nd drive
Date: 29 Jun 1993 19:18:22 -0400
Organization: Univerisity of Michigan - Dearborn
Lines: 17
Message-ID: <crt.741395694@tiamat.umd.umich.edu>
References: <GSPIEGEL.81.741370739@bsa3.kent.edu>
NNTP-Posting-Host: cw-u02.umd.umich.edu
Keywords: disklabel

GSPIEGEL@bsa3.kent.edu (Greg Spiegelberg) writes:

[Misc. deleted]
>2) I cd /dev and do the 'disklabel -w wd1 maxtor7245'.  What I get
>   back is this...
>   disklabel: ioctl DIOCWDINFO: No disk label on disk;
>   use 'disklabel -r' to install initial label
>   This makes no sense. The -r option only reads the drive info.  
>   Secondly, I have no idea what the error message means so I'm not 
>   sure what it wants.

-r?  No... Hint: type 'man disklabel', the -r option means deal directly
with the disk, and not with the label in memory for that disk...

try 'disklabel -r -w /dev/rwd1a maxtor7245'