lkml.org 
[lkml]   [2011]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] add mount options to sysfs
On Fri, May 20, 2011 at 05:36:15PM +0400, Vasiliy Kulikov wrote:
> On Fri, May 20, 2011 at 17:34 +0400, Vasiliy Kulikov wrote:
> > On Fri, May 20, 2011 at 06:30 -0700, Greg KH wrote:
> > > > Correct. So, if I understood you, you are OK with adding mount options
> > > > for debugfs, but not sysfs, right? What is the difference between them
> > > > in sense of permissions?
> > >
> > > debugfs is "there are no rules", so changing the permissions on it
> > > shouldn't break anything as no userspace tools "should" rely on it. Now
> > > that really isn't true (see the perf stuff), but overall it is, so I
> > > don't worry about changing things there as much as sysfs, which has
> > > hundreds of tools relying on it.
> >
> > What would break if the default behaviour is not changed?
>
> Err... sorry, s/would break/would it break/

That's the question for you, we would be changing the kernel/user api
here, and odds are, something will break.

thansk,

greg k-h


\
 
 \ /
  Last update: 2011-05-20 15:55    [W:0.044 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site