From: "willy tarreau" <wtarreau@yahoo.fr>
To: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Making diff(1) of linux kernels faster
Date: Wed, 17 Oct 2001 19:57:52 +0200 (CEST) [thread overview]
Message-ID: <20011017175752.80489.qmail@web20507.mail.yahoo.com> (raw)
Hi Paul !
congratulations for this improvement, it seems really
interesting. BTW, I personnaly use hard links between
kernels to make the effective data set smaller, and
I'd
like to explain here how I proceed since there are
often people who seem completely amazed by this method
which I learned here on LKML a few years ago :
# cd /usr/src
# tar Ixf anydir/linux-2.4.12.tar.bz2
# cp -dRflp linux linux-2.4.12
>>> this way, only dir entries are duplicated, so very
>>> little overhead
# (cd linux && bzcat anydir/patch-2.4.13pre1.bz2|patch
-Np1)
# cp -dRflp linux linux-2.4.13pre1
>>> now, only file affected by the patch are
duplicated
>>> then, you can work inside linux dir, and construct
>>> your patches very quickly since a few files
>>> effectively differ from your new tree and old
ones.
Be very careful not to modify a multi-linked file, or
it will be damaged in all trees and won't be seen by
diff. your editor must unlink before saving.
I hope it will help someone as it has helped me for a
while now. I nearly always have sub-second diffs, even
with not-so-much RAM.
Cheers,
Willy
___________________________________________________________
Un nouveau Nokia Game commence.
Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre
pour participer à cette aventure tous médias.
next reply other threads:[~2001-10-17 17:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 17:57 willy tarreau [this message]
2001-10-18 0:25 ` Making diff(1) of linux kernels faster Horst von Brand
2001-10-18 8:02 ` Nick Craig-Wood
2001-10-18 9:55 ` Wojtek Pilorz
2001-10-18 11:18 ` vda
-- strict thread matches above, loose matches on Subject: below --
2001-10-22 16:39 Andries.Brouwer
2001-10-18 14:48 Sean Neakums
2001-10-18 12:39 Marco C. Mason
2001-10-14 8:58 Paul Gortmaker
2001-10-14 9:51 ` john slee
2001-10-14 15:48 ` Linus Torvalds
2001-10-17 12:25 ` Paul Gortmaker
2001-10-17 16:59 ` Linus Torvalds
2001-10-17 16:44 ` Marcelo Tosatti
2001-10-17 18:21 ` Linus Torvalds
2001-10-17 20:21 ` Andrea Arcangeli
2001-10-17 19:06 ` Marcelo Tosatti
2001-10-17 21:23 ` chris
2001-10-17 21:30 ` Andrea Arcangeli
2001-10-17 21:45 ` Linus Torvalds
2001-10-17 17:12 ` John Levon
2001-10-17 19:19 ` Benjamin LaHaise
2001-10-17 18:50 ` Andreas Schwab
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=20011017175752.80489.qmail@web20507.mail.yahoo.com \
--to=wtarreau@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=p_gortmaker@yahoo.com \
/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