Date: Fri, 29 Sep 2000 12:07:01 -0500 From: Dan Nelson <dnelson@emsphone.com> To: mirko.viviani@rccr.cremona.it Cc: current@FreeBSD.ORG Subject: Re: procfs info. Message-ID: <20000929120701.A10189@dan.emsphone.com> In-Reply-To: <200009291631.SAA25964@rccr1.rccr.cremona.it>; from "mirko.viviani@rccr.cremona.it" on Fri Sep 29 18:31:26 GMT 2000 References: <200009291631.SAA25964@rccr1.rccr.cremona.it>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 29), mirko.viviani@rccr.cremona.it said: > I need to know the exact format of the /proc/*/cmdline of FreeBSD. > Actually I'm using 4.1 and I have discovered that at the end of > cmdline file there are always 2 NULL characters. You sure? $ uname -v FreeBSD 5.0-CURRENT #69: Tue Sep 5 18:59:54 CDT 2000 dan@dan.emsphone.com:/usr/src/sys/compile/DANSMP $ hd /proc/curproc/cmdline 00000000 68 64 00 2f 70 72 6f 63 2f 63 75 72 70 72 6f 63 |hd./proc/curproc| 00000010 2f 63 6d 64 6c 69 6e 65 00 |/cmdline.| 00000019 $ uname -v FreeBSD 4.0-STABLE #6: Tue Aug 8 18:35:09 CDT 2000 zsh@emssrv5.emsphone.com:/usr/src/sys/compile/EMSSRV5 $ hd /proc/curproc/cmdline 00000000 68 64 00 2f 70 72 6f 63 2f 63 75 72 70 72 6f 63 |hd./proc/curproc| 00000010 2f 63 6d 64 6c 69 6e 65 00 |/cmdline.| 00000019 -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000929120701.A10189>