In the last episode (Sep 29), [EMAIL PROTECTED] 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
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message