Subject: Re: partition bookkeeping
To: Oleg Polyanski <email@example.com>
From: Ignatios Souvatzis <firstname.lastname@example.org>
Date: 09/22/1999 21:48:04
On Wed, Sep 22, 1999 at 10:25:53PM +0400, Oleg Polyanski wrote:
> I'm not sure that it makes our life easier. Right now we have
> floating disk naming scheme - disk detected first will get number `0'
> even if it has, for example, SCSI ID 5 so when I add another disk
> with SCSI ID number 2 (for example, I would like to add large /opt
> file system) it becomes first (i.e. sd0), not the former `first'
> disk. You cannot mount root fs without editing your `/etc/fstab'.
> It's weird. Disk naming scheme must depend on device physical
> properties (SCSI ID, master/slave or something like that).
This won't help you to mount root. You have to _know_ at _runtime_ which one
it is. As this isn't generally possible (at best, the kernel knows it),
install scripts tend to mount kernfs and then mount /kern/rootdev.