Re: Linux and not version dirs

Jauder Ho (jauderho@falcon.kla.com)
Thu, 20 Jun 1996 08:51:16 -0700 (PDT)


this is what I do usually

I have a directory with lets say linux-1.3.57
I have a soft link to it called linux

I download the patch to 1.3.58
I do the following things

% mv linux-1.3.57 linux-1.3.58
% ln -sf linux-1.3.58 linux
% gzip -cd | patch -p0

I guess I could write a script to do it but I am too lazy

--Jauder

On Thu, 20 Jun 1996, Hasdi R Hashim wrote:

> On Wed, 19 Jun 1996, Jauder Ho wrote:
> >
> > heard of su? su to root and untar there..... besides I usually
> > patch so I only have one or two full kernel sources lying around.
>
> Ayup! That's what i do. That's but not the problem. The problem is I can't
> untar the 'linux' directory as linux-2.0.x directory. I have to untar
> everything in a separate directory. eg
>
> cd /tmp
> tar zxvf linux-2.0.tar.gz
> su mv linux /usr/src/linux-2.0
> ln -s linux-2.0 linux
>
> I have to untar it this way so I don't overwrite my existing linux
> directories...
>
> rep00857:~$ ls /usr/src/linux* -d
> /usr/src/linux/ /usr/src/linux-2.0/
> /usr/src/linux-1.3.57/ /usr/src/linuxggi/
>
> Like i said, it's no big deal. It's just a minor inconvenience on my part.
> I am the kind of person that likes to keep multiple versions of kernel
> sources in separate directories. Also, I am too lazy to use...
>
> (cd /usr/src; zcat ~/patch* | patch)
>
> ...coz I can download the entire kernel source from a nearby university
> within 45 seconds. ( Ethernet rulez! :)
>
> > --Jauder
> >
> > GO BLUE!
>
> Hasdi
>
> GO BLUE! :) :) :)
>