Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers

2007-11-03 Thread Christoph Lameter
On Sat, 3 Nov 2007, Peter Zijlstra wrote: > On Fri, 2007-11-02 at 20:48 -0700, Greg KH wrote: > > > Also, a sysfs file that causes an action to happen just by reading the > > file is not a safe thing to have. Lots of scripts have been known to > > just walk the whole sysfs tree and open and read

Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers

2007-11-03 Thread Peter Zijlstra
On Fri, 2007-11-02 at 20:48 -0700, Greg KH wrote: > Also, a sysfs file that causes an action to happen just by reading the > file is not a safe thing to have. Lots of scripts have been known to > just walk the whole sysfs tree and open and read everything they can for > no real good reason. So y

Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 11:05:27AM -0600, Latchesar Ionkov wrote: > Sysfs support for 9P servers. > Every server type is represented as a directory in /sys/fs/9p/srv. Initially > there is a single file in the directory -- 'clone'. Reading from the clone > file creates a new instance of the file ser