lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130425210726.GL7917@beardog.cce.hp.com>
Date:	Thu, 25 Apr 2013 16:07:26 -0500
From:	scameron@...rdog.cce.hp.com
To:	Tejun Heo <tj@...nel.org>
Cc:	axboe@...nel.dk, neilb@...e.de, hch@...radead.org,
	jmoyer@...hat.com, hare@...e.de, shaohua.li@...el.com,
	vgoyal@...hat.com, stephenmcameron@...il.com,
	linux-kernel@...r.kernel.org, lsorense@...lub.uwaterloo.ca,
	scameron@...rdog.cce.hp.com
Subject: Re: [RFC PATCH] block: Add new generic block device naming interface

On Thu, Apr 25, 2013 at 01:40:33PM -0700, Tejun Heo wrote:
> Hello,
> 
> On Thu, Apr 25, 2013 at 03:22:15PM -0500, Stephen M. Cameron wrote:
> > If block drivers could (optionally) share a common device namespace then
> > grub could be taught about this common namespace once, and any new block
> > device drivers could take advantage of this namespace and grub would
> > automatically work with them.
> 
> Hmmm... maybe I'm missing something but the names assigned this way
> wouldn't have any kind of stability across boots.  Is that good
> enough?  

Perhaps not.  I am open to suggestions on that front -- perhaps there's
some way for udev to help sort things out?

> But, if so, I'm kinda having hard time understanding what
> it'd be able to do which any other name can't do.
> 
> Can you please elaborate the use case?

Sure.

Right now, if you add a new block driver, if you want grub to be able
to boot it, you also have to modify grub.  This is true for each new
block driver that comes along.  This is not the case for SCSI HBA
drivers, because they all get to share the sd driver and its device
name space, and grub already knows about that.  You can add all kinds
of SCSI HBA drivers and never have to worry about needing to modify
grub to get boot support.

It seems wrong to me that for every new block driver needing boot support
grub has to be modified.  If there were a common block device name space
which grub knew about, any new block driver which comes along that needs
support from grub could get it by using this common block device name space.

So that is the problem I'd like to solve.  I realize the patch I've put
up for discussion may fall short.  And it's possible there's a good reason
such a thing as I propose isn't already present, in which case I'd like
to learn what that reason is.

Thanks,

-- steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ