Date: Mon, 23 Aug 2010 17:13:40 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: "Dr. A. Haakh" <bugReporter@Haakh.de> Cc: freebsd-fs@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk> Subject: Re: devfs: proposal to create links for bootdevice Message-ID: <20100823151340.GP61454@cicely7.cicely.de> In-Reply-To: <4C727061.10904@Haakh.de> References: <86011.1282563971@critter.freebsd.dk> <4C727061.10904@Haakh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100823151340.GP61454>
