Date: Mon, 01 May 2000 14:14:20 -0700 From: Mike Smith <msmith@freebsd.org> To: nm <nm@vt.edu> Cc: alpha@freebsd.org Subject: Re: more disk trouble Message-ID: <200005012114.OAA03836@mass.cdrom.com> In-Reply-To: Your message of "Mon, 01 May 2000 15:31:26 EDT." <3.0.32.20000501153125.038d02e0@mail.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> At 12:14 PM 5/1/00 -0700, Mike Smith wrote: > <snip> > >> > >> bash-2.03# disklabel /dev/rda1c > >> disklabel: ioctl DIOCGDINFO: Invalid argument > <snip> > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005012114.OAA03836>