From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 3 20:59:03 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD7B916A420 for ; Thu, 3 Jan 2008 20:59:03 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id 61F7C13C4E8 for ; Thu, 3 Jan 2008 20:59:03 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so262372wra.13 for ; Thu, 03 Jan 2008 12:59:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=X4XcM111OIuWWoDB3Kb3Hf2Ryol3tS9qza3egPu8g2g=; b=n6moTMLjW8IWNHdfiP0leNR/mBB6oklWj56PMYPMJzU+Uxa0jrtKs0rjnYqL0M8Pb62QvddqXarv0QQ+IWWtOnj20CVV8W/o37tLYuK3Aw6KB0t5/Fo+C4pVngl/f1s5tnq6BcGXhMiT8JFWAIe+UZNf1jn3gLhCyRkhhc7NmaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RNeWswpkxgFob0DgizkCU4ZaaBSPAASsC60LpyZF+pw+uKuLv1AYRIo7et7xcjkUloeT6nAzUriHtleVRTab6nGlSX75cJPa23IJnt7hjN5MdbvC7iT7r9vwQ6fr4M5glG1Fe4IVYFsk5BQ4MrPKmDx+1L9TEWelgAgrSCZHwUY= Received: by 10.150.143.14 with SMTP id q14mr4337196ybd.113.1199393942412; Thu, 03 Jan 2008 12:59:02 -0800 (PST) Received: by 10.150.178.13 with HTTP; Thu, 3 Jan 2008 12:59:02 -0800 (PST) Message-ID: <1bd550a00801031259q56965b82n86a050f945a5df3d@mail.gmail.com> Date: Thu, 3 Jan 2008 21:59:02 +0100 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00801030926h7b3f0aaayfd04244a3305619c@mail.gmail.com> <86tzlud6y5.fsf@ds4.des.no> <1bd550a00801031157s521665e4p77b2250d3966ec1d@mail.gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Porting from Linux to FreeBSD (procfs question) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 20:59:03 -0000 On Jan 3, 2008 9:53 PM, Ivan Voras wrote: > Fernando Apestegu=EDa wrote: > > > Maybe a mix of both could be good: use the linxprocfs when it is > > almost straightforward (in fact I could run the app, just changing few > > lines) and sysctl when the linprocfs doesn't provide the information > > that I need. > > Also, linprocfs is never mounted by default - this might or might not be > an obstacle, depending on how user-friendly the application is (asking > desktop users to alter their fstabs may be asking too much :) ). > I hadn't thought about it... but it's quite to the point. Maybe it makes no sense to ask for a particular filesystem from a graphical Gnome application... > >