On 01/14/11 00:03, Milan Broz wrote: > On 01/13/2011 03:43 PM, Kay Sievers wrote: > >>> On Thu, Jan 13, 2011 at 3:25 PM, Milan Broz <mbroz@xxxxxxxxxx> wrote: >>>> Maybe, but this was not invented in DM/MD camp:-) >>>> Probably Kay or Greg can answer why it was done this way? >> >> It's not from Greg or Kay. It just appeared some day in the context of dm. :) > > ah, then sorry, I am just confused:-) > But DM does not need it for operation at all so it must had some other reason. > (We have dmsetup ls --tree using dm-ioctls for years.) Sorry. It's from me 5 years ago. :) See this for backgrounds: [PATCH 0/3] sysfs representation of stacked devices (dm/md) http://lwn.net/Articles/172689/ And I don't adhere to my implementation if there's better one. Thanks, -- Jun'ichi Nomura, NEC Corporation -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel