From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars Marowsky-Bree Subject: Re: A better solution than "md_component_detection = 1" Date: Wed, 20 Apr 2005 12:13:41 +0200 Message-ID: <20050420101341.GL29071@marowsky-bree.de> References: <000001c5136d$3b3502a0$11051aac@pcp41116> <20050410172931.GF12752@marowsky-bree.de> <20050419213810.GY29071@marowsky-bree.de> <1113947755.24817.81.camel@zezette> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1113947755.24817.81.camel@zezette> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: gregkh@suse.de, hare@suse.de List-Id: dm-devel.ids On 2005-04-19T23:55:55, christophe varoqui w= rote: > > > For example, /sys/block/sda would have a sub/ directory with "dm-0"= in > > > there, pointing at /sys/block/dm-0 (surprise). The > > > /sys/block/dm-0/parent/sd{a,b} entries would do a very surprising > > > thing. > > >=20 > > > This would also allow us to handle partitions in DM better: as all > > > linear mappings on top of /dev/dm-0 would show up in block/dm-0/sub= / and > > > vice versa. > > >=20 > > > md could work the same: block/sys/md0/parent/ would list all the de= vices > > > (or partitions) which it consists of. > > >=20 > Regardless of the implementation, am I the only one to think that > dm-0/parent/ should contain "parents of dm-0" ? :) I thought that was exactly what I was proposing. Sincerely, Lars Marowsky-Br=E9e --=20 High Availability & Clustering SUSE Labs, Research and Development SUSE LINUX Products GmbH - A Novell Business