From owner-freebsd-hackers Mon Sep 18 16:40:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id E4BAE37B42C; Mon, 18 Sep 2000 16:40:36 -0700 (PDT) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8INe0i09558; Mon, 18 Sep 2000 16:40:00 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.0/8.11.0) id e8INbh074640; Mon, 18 Sep 2000 16:37:43 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 18 Sep 2000 16:37:42 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Marc Tardif Subject: Re: device naming convention Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG, "Daniel C. Sobral" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18-Sep-00 Marc Tardif wrote: >> > This is what I have in fdisk (from /stand/sysinstall): >> > Offset Size End Name PType Desc Subtype Flags >> > 0 63 62 - 6 unused 0 >> > 63 1937565 1937627 wd0s1 3 freebsd 165 C >> > 1937628 191268 2128895 - 6 unused 0 >> > >> > At this point, the second slice does not exist yet so I can't use it. For >> > problems in defining a slice, see next question. >> >> Really? I wouldn't expect FreeBSD to worry about the type being >> "unused". >> > If I try the following command as root, nothing is output: ># hd /dev/rwd0s2 | head Look at your output you pasted above. There is no entry with the name 'wd0s2'. There is just an entry with wd0s1. Note that those unused areas are not allocated into any existing slice at the moment, and are thus not the same as a slice with a subtype of '0' indicating that the slice itself is unused. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message