From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Date: Wed, 16 Aug 2006 18:02:14 +0000 Subject: Re: [KJ] [PATCH] Y/N value import/export Message-Id: <20060816180214.GI4340@parisc-linux.org> List-Id: References: <20060816170423.GA5897@plankton.ifup.org> In-Reply-To: <20060816170423.GA5897@plankton.ifup.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org On Wed, Aug 16, 2006 at 12:52:24PM -0500, Brandon Philips wrote: > On 11:34 Wed 16 Aug 2006, Matthew Wilcox wrote: > > On Wed, Aug 16, 2006 at 12:04:45PM -0500, Brandon Philips wrote: > > > I am wanting to export a single Y/N value via sysfs like > > > debugfs_create_bool does. > > > > Why not 0/1 like the rest of the kernel does? > > I couldn't find an example of a boolean values exported via sysfs. > Could you point me to an attr that uses 0/1 values? In drivers/pci/pci-sysfs.c, look for broken_parity_status _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org https://lists.osdl.org/mailman/listinfo/kernel-janitors