From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] broken vac
Date: Mon, 3 Feb 2003 14:53:03 +0000 [thread overview]
Message-ID: <c3c0894654e5b89c4a1346075c3167cf@vitanuova.com> (raw)
axel:
> I tried: cmp /proc/number/text /bin/vac
> which did not report differences; is that what I need,
> or will the text file point to the new binary if I update
> the binary on the system?
russ:
> The cmp is fine. You have the latest vac.
> Something else is wrong.
actually, i'm not sure that's right. the text file just points to the
file on the filesystem, so unless that's been removed/renamed in the
meantime (safeinstall?) the cmp is unlikely to tell you much.
looking in the dump might be more informative.
cheers,
rog.
% cat tst.c
#include <u.h>
#include <libc.h>
void
main(void)
{
sleep(2000000);
}
% 8c tst.c && 8l tst.8
% 8.out &
% echo $apid
600
% md5sum /proc/600/text
416079107feb6f50ad2204838f6a49c2 /proc/600/text
% ed tst.c
,s/2000/1000/p
sleep(1000000);
w
70
q
% % 8c tst.c && 8l tst.8
% md5sum /proc/600/text
15d26908dcf5ee6a2919a255cd1f2a02 /proc/600/text
% md5sum 8.out
15d26908dcf5ee6a2919a255cd1f2a02 8.out
%
next reply other threads:[~2003-02-03 14:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-03 14:53 rog [this message]
2003-02-03 14:53 ` Russ Cox
2003-02-03 15:36 ` Axel Belinfante
2003-02-03 15:50 ` Russ Cox
2003-02-03 17:17 ` Fco.J.Ballesteros
-- strict thread matches above, loose matches on Subject: below --
2003-01-31 15:08 Axel Belinfante
2003-01-31 16:23 ` Fco.J.Ballesteros
2003-01-31 16:33 ` Russ Cox
2003-01-31 18:37 ` Axel Belinfante
2003-01-31 18:52 ` Axel Belinfante
2003-01-31 18:57 ` Russ Cox
2003-01-31 16:23 ` Fco.J.Ballesteros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3c0894654e5b89c4a1346075c3167cf@vitanuova.com \
--to=rog@vitanuova.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).