lkml.org 
[lkml]   [1996]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux and not version dirs
Date
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
>

Alternatively:

cd /usr/src
mkdir linux-2.0.0
rm linux
ln -s linux-2.0.0 linux
tar xvzf linux-2.0.tar.gz

Which is what I do, and saves copying across file systems as my / and
/usr are separate partitions.

-Andy

--
Andy Walker Kvaerner Engineering a.s.
Andrew.Walker@lysaker.kvaerner.no P.O. Box 222, N-1324 Lysaker, Norway

......if the answer isn't violence, neither is your silence......



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.099 / U:25.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site