Date: Wed, 17 Oct 2007 15:29:27 -0500 From: Josh Paetzel <josh@tcbug.org> To: Jonathan Chen <jonc@chen.org.nz> Cc: Yuri <yuri@rawbw.com>, freebsd-questions@freebsd.org Subject: Re: Why FreeBSD procfs is so different from the Linux one? Message-ID: <20071017202927.GB4814@tcbug.org> In-Reply-To: <20071017100205.GB92302@osiris.chen.org.nz> References: <1192613089.4715d4e1d484b@webmail.rawbw.com> <20071017100205.GB92302@osiris.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
--LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jonathan Chen wrote: > On Wed, Oct 17, 2007 at 02:24:49AM -0700, Yuri wrote: > > Hi, > >=20 > > When I look at /proc/PID/ in FreeBSD I see the files: > > cmdline ctl dbregs etype file fpregs map mem note = notepg=20 > > regs rlimit status > > and in Linux: > > cmdline cpu cwd environ exe fd maps mem mounts root stat sta= tm status > >=20 > > Why there's such a difference in procfs interface to the process inform= ation? > >=20 > > In addition Linux has /proc/self/ link which is named curproc in FreeBS= D. > >=20 > > Isn't it better to have the same interface across the systems? >=20 > Maybe. Why don't you get the Linux guys to change theirs? FreeBSD has > been around longer. Well, technically no. BSD predates linux, but linux predates FreeBSD by a few years. In general though, linux is a reimplimentation and they've had a habit of changing things in the process, but for any given interface it's not generally accurate to say linux is the reimplimentation....sometimes they are, sometimes they aren't. --=20 Thanks, Josh Paetzel --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFHFnClJvkB8SevrssRAhtuAJ9cVvXJAMy2cu7iqoAerHD5UAjOQQCfWV52 HO0ybhRBJfneiJNx/K49bK8= =zl0+ -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071017202927.GB4814>