WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Support for official xvd major number


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<foo>). And the xvd* names and numbers are there if you want to avoid clashes with other subsystems.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel