From owner-freebsd-current Tue Nov 19 21:27:51 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42CBD37B401 for ; Tue, 19 Nov 2002 21:27:50 -0800 (PST) Received: from hotmail.com (f8.pav0.hotmail.com [64.4.33.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9839543E88 for ; Tue, 19 Nov 2002 21:27:46 -0800 (PST) (envelope-from oykai@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 19 Nov 2002 21:27:46 -0800 Received: from 210.74.136.33 by pv0fd.pav0.hotmail.msn.com with HTTP; Wed, 20 Nov 2002 05:27:46 GMT X-Originating-IP: [210.74.136.33] From: "kai ouyang" To: wollman@lcs.mit.edu Cc: Current@FreeBSD.ORG Subject: Re: Hi,a little question about DP2. Date: Wed, 20 Nov 2002 13:27:46 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 20 Nov 2002 05:27:46.0418 (UTC) FILETIME=[8EEAFD20:01C29055] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Wollman, >From: Garrett Wollman >For backwards compatibility, the FreeBSD 4.x kernel would fake up the >partition tables so that they would look like old (pre-slicing) >FreeBSD partition tables; i.e., the starting offset of the slice would >be subtracted from all of the partition offsets on read and added back >in on write. The disk partitioning subsystem in 5.x doesn't do this. >-GAWollman Thank you! I also want to know if I want use LVM(Logical Volume Management), I need create pseudo-device in "/dev". How can I do? In 4.x, I can use 'disklabel' to change partition's size, offset and type, but in Current, I coudn't do that. i.e. # disklabel -e /dev/da1s1 disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device but the 'da1s1' device-name exists in '/dev'. For my old experience in DP1, I compile kernel with option 'NO_DEVFS', so I can create pseudo-device as in 4.x. Whether I must use DP2 without DEVFS to use LVM? Best Regards Ouyang Kai _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message