From owner-freebsd-questions Sat Nov 3 12:17:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web14706.mail.yahoo.com (web14706.mail.yahoo.com [216.136.224.123]) by hub.freebsd.org (Postfix) with SMTP id D4A1F37B416 for ; Sat, 3 Nov 2001 12:17:46 -0800 (PST) Message-ID: <20011103201746.8366.qmail@web14706.mail.yahoo.com> Received: from [64.131.161.101] by web14706.mail.yahoo.com via HTTP; Sat, 03 Nov 2001 12:17:46 PST Date: Sat, 3 Nov 2001 12:17:46 -0800 (PST) From: Wayne Lubin Subject: Re: disklabel question To: freebsd-questions@freebsd.org In-Reply-To: <15332.13794.974173.634030@guru.mired.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tried it and got the following error messages ad1s2: Cannot find label(no disk label) disklabel: ioctl DIOCGDINFO: Invalid argument disklabel: auto: unknown disk type Does it seem as if maybe my disklabel program is broken? Wayne --- Mike Meyer wrote: > Wayne Lubin types: > > I made a slice ad1s2 (second slice on my second > drive) > > and I wanted to make some partitions on it, so I > used > > the disklabel utility program with the following > > command "disklabel -w ad1s2" and it gave me the > error > > message "Cannot find label" which does not make > sense > > because I thought that the purpose of disklabel > was to > > make the label. I also invoked disklabel with the > -e > > switch with the same result. Anyone know what is > going > > on here? Thanks. > > You've got to tell it what to write. Try "disklabel > -w -r ad1s2 auto". > > -- > Mike Meyer > http://www.mired.org/home/mwm/ > Q: How do you make the gods laugh? A: Tell them > your plans. __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message