lkml.org 
[lkml]   [2016]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [RESEND x2][PATCH v2] block: partition: Add partition specific uevent callbacks for partition info
Date
> > Interestingly, this feature appears to already be documented in
> > Documentation/block/cmdline-partition.txt. I wonder how that happened.
> > Maybe we used to do this but it got taken away?

This documentation talk about the partition name usages,
my patch support get partition name from android userspace.
the mainline kernel appears does not support the 'PARTNAME' uevent, but this feature is very convenient.

>
> Heh. Looks like the documentation was added not too long ago (by Cai -
> cc'ed). I suspect they had been working w/ the Android tree and
> assumed the functionality was already upstream?
>
> > It seems bad that we don't document uevents in any organized fashion.
> > But the audience is very small and knows how to find kernel source code
> > so I guess it doesn't matter.
> >
> > Anyway, please do check that the conveniently self-adding documentation
> > is accurate and complete.
>
> It does match the behavior this patch provides from Android. It is
> somewhat tangential to the functionality described in the
> documentation, so I'm not sure of its measure of completeness (for
> example, it doesn't talk about PARTN parameter, but again, the
> documentation is covering how to specify partition info via the boot
> cmdline, and isn't really covering the uevents - the uevent was just a
> mentioned side-effect for the partition name portion of the cmdline
> option).
>
> thanks
> -john
\
 
 \ /
  Last update: 2016-02-06 04:01    [W:0.198 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site