From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luciano Miguel Ferreira Rocha Subject: Re: [PATCH][XM-TEST] Add mounting /sys to ramdisk Date: Tue, 14 Mar 2006 17:03:16 +0000 Message-ID: <20060314170315.GA29365@nsk.no-ip.org> References: <1142296948.16893.46.camel@w-stekloff.beaverton.ibm.com> <1142305832.3172.27.camel@dyn9047022067.beaverton.ibm.com> <878xrdxaii.fsf@caffeine.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <878xrdxaii.fsf@caffeine.beaverton.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Mar 14, 2006 at 08:21:25AM -0800, Dan Smith wrote: > > WM> Dan Is that the only check you can used is 2.6 from uname? Is > WM> there any other piece of info you can check? WM> that well> > > Checking for 2.6 is a perfectly reasonable way to decide whether or > not to mount /sys, IMHO. And there's grep sysfs /proc/filesystems (|| modprobe -q sysfs, if compile-as-module is ever added to sysfs). (Sorry for replying to this post instead of the initial one, I deleted it already.) -- lfr 0/0