From owner-freebsd-alpha Mon May 1 14:12: 2 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mass.cdrom.com (adsl-63-202-176-114.dsl.snfc21.pacbell.net [63.202.176.114]) by hub.freebsd.org (Postfix) with ESMTP id 19B2537C53F for ; Mon, 1 May 2000 14:06:04 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id OAA03836; Mon, 1 May 2000 14:14:20 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200005012114.OAA03836@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: nm Cc: alpha@freebsd.org Subject: Re: more disk trouble In-reply-to: Your message of "Mon, 01 May 2000 15:31:26 EDT." <3.0.32.20000501153125.038d02e0@mail.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 May 2000 14:14:20 -0700 From: Mike Smith Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > At 12:14 PM 5/1/00 -0700, Mike Smith wrote: > > >> > >> bash-2.03# disklabel /dev/rda1c > >> disklabel: ioctl DIOCGDINFO: Invalid argument > > >> What am I doing wrong? > > > >You don't apply disklabel to a partition, you apply it to a device or > >slice. Use the canonical name to avoid embarrassment, eg: > > right. > > >disklabel -e da1 > > Doesn't disklabel translates da1 to /dev/rda1c? The man page seems > to indiate that it does: The manpage is out of date. > >dd if=/dev/zero of=/dev/da1 count=16 > > I was looking for an option to do this from disklabel but I didn't > see one. Wouldn't this be a nice feature to have on FreeBSD? No. It's too dangerous. > Well I tried this and I get the same results as before :( What did you try? Exact commands and output; I can't read over your shoulder, and I'm too busy to hack into your box to do it myself. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message