From owner-freebsd-fs@FreeBSD.ORG Mon Aug 23 15:13:51 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B22D410656AA for ; Mon, 23 Aug 2010 15:13:51 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2599E8FC13 for ; Mon, 23 Aug 2010 15:13:50 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o7NFDmIp053445 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Aug 2010 17:13:49 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id o7NFDgAb050532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Aug 2010 17:13:42 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o7NFDgke069074; Mon, 23 Aug 2010 17:13:42 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o7NFDeg9069073; Mon, 23 Aug 2010 17:13:40 +0200 (CEST) (envelope-from ticso) Date: Mon, 23 Aug 2010 17:13:40 +0200 From: Bernd Walter To: "Dr. A. Haakh" Message-ID: <20100823151340.GP61454@cicely7.cicely.de> References: <86011.1282563971@critter.freebsd.dk> <4C727061.10904@Haakh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C727061.10904@Haakh.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-fs@freebsd.org, Poul-Henning Kamp Subject: Re: devfs: proposal to create links for bootdevice X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 15:13:51 -0000 On Mon, Aug 23, 2010 at 02:58:09PM +0200, Dr. A. Haakh wrote: > > > Poul-Henning Kamp schrieb: > >In message <4C72569B.9050807@Haakh.de>, "Dr. A. Haakh" writes: > > > >>Hi, > >> > >>it would be nice if device-nodes like bda, bdb, bdc ... could be created > >>at boot time referring to the partitions of the boot-device. > >> > >>With these nodes in your fstab you don't have to edit fstab if devices > >>change. > >> > > > >Use g_label ? > > > glabel is an option if you have just one slice to boot from. If you have > several OSes using ufs (e.g 7.3 and 8.1) then you would have to > use different labels and again different entries in fstab. Generic > entries like the ones described above would be helpful. It won't work with /dev/bd* either. The loader knows the BIOS disk and the kernel gets the fstab entry via loader. If you put /dev/bda into fstab then the kernel doesn't know anything /dev/ad0a anymore. You need a bootstraping devicename anywhere. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.