From: Keir Fraser Subject: Re: [PATCH] Support for official xvd major number Date: Thu, 14 Jul 2005 22:38:28 +0100 Message-ID: <26fa1ab6f6b2f84345f0e5e106262d4a@cl.cam.ac.uk> References: <1121375739.15645.15.camel@bree.local.net> <1121376902.15645.23.camel@bree.local.net> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1121376902.15645.23.camel@bree.local.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Katz Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 14 Jul 2005, at 22:35, Jeremy Katz wrote: > Also, on a side note that is really unrelated to the patch, is there > really a good reason why these hoops are still gone through instead of > having the kernel allocate the next disk instead of the hard-coding > with > things somewhat out of order and stealing the major/minors of other > subsystems? I'm not sure what you mean? Specifying device numbers up front in a config file means that you know e.g., what device names to put in your fstab and what to specify as your rootfs device. And stealing scsi/ide device names/numbers is the strategy of least surprise to userspace tools and scripts (e.g., some vendor init scripts have a baby if filesystems are mounted on a weirdly-named block device like xvd). And the xvd* names and numbers are there if you want to avoid clashes with other subsystems. -- Keir