Re: [expert] Kernel and Tar file ?
On Fri, 10 Sep 1999, Tom Berger wrote: > Axalon Bloodstone wrote: > > > > On Thu, 9 Sep 1999, John Aldrich wrote: > > > > > On Thu, 09 Sep 1999, you wrote: > > > > > > > > No. The symlink will get overwritten, but not the 2.2.9-27 directory. > > > > > > > My experience (tar xvf after un-bzipping) is that it does not > > > overwrite the DIRECTORY name, but it *will* overwrite the files *IN* > > > the directory. > > > John > > > > Correct.. The tarball only contains a linux/ tree. > > > > rm linux > > mkdir linux-%version > > ln -s linux-%version linux > > bzcat linux-%version.tar.bz2 | tar xv > > > > -- > > MandrakeSoft http://www.mandrakesoft.com/ > > --Axalon > > > Oops. Sorry. Was perfectly sure of this... > > tom Technicly what you said is correct John just cleared it up a little. I thought i'd make sure everybody knew we were all really talking about the same thing ;) -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] Kernel and Tar file ?
Axalon Bloodstone wrote: > > On Thu, 9 Sep 1999, John Aldrich wrote: > > > On Thu, 09 Sep 1999, you wrote: > > > > > > No. The symlink will get overwritten, but not the 2.2.9-27 directory. > > > > > My experience (tar xvf after un-bzipping) is that it does not > > overwrite the DIRECTORY name, but it *will* overwrite the files *IN* > > the directory. > > John > > Correct.. The tarball only contains a linux/ tree. > > rm linux > mkdir linux-%version > ln -s linux-%version linux > bzcat linux-%version.tar.bz2 | tar xv > > -- > MandrakeSoft http://www.mandrakesoft.com/ > --Axalon Oops. Sorry. Was perfectly sure of this... tom -- "Never trust a Shoggoth!" Thomas 'tom' Berger, [EMAIL PROTECTED] LSTB - "advancing the community"
Re: [expert] Kernel and Tar file ?
On Thu, 9 Sep 1999, John Aldrich wrote: > On Thu, 09 Sep 1999, you wrote: > > > Is this because of the symlink? > I believe so. At least it's my (limited) experience that this > behavior occurs. > > Can I remove the symlink so it wont > > overwrite the 2.2.9-27? > I don't know. > > If this does work do I need to make a new one to > > the sources I want to compile? > Probably, but I don't know. :-) > >Why is the link there? > > > I'm afraid my knowledge is based on unpacking a "tarball" kernel > source this past holiday weekend (for us in the United States it was > a holiday weekend ) and being surprised that it overwrote the > source for my previous kernel. I "moved" the directory to a new name > (2.2.12) to reflect the contents of the kernel. > I would strongly suggest you try making a directory FOR the contents > of the tarball and making the symlink point to that directory. > Probably have to do an "ln -s --force" to get it to work. > John What! no body told me it was a bloody holiday -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] Kernel and Tar file ?
On Thu, 9 Sep 1999, John Aldrich wrote: > On Thu, 09 Sep 1999, you wrote: > > > > No. The symlink will get overwritten, but not the 2.2.9-27 directory. > > > My experience (tar xvf after un-bzipping) is that it does not > overwrite the DIRECTORY name, but it *will* overwrite the files *IN* > the directory. > John Correct.. The tarball only contains a linux/ tree. rm linux mkdir linux-%version ln -s linux-%version linux bzcat linux-%version.tar.bz2 | tar xv -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] Kernel and Tar file ?
On Thu, 09 Sep 1999, you wrote: > Is this because of the symlink? I believe so. At least it's my (limited) experience that this behavior occurs. > Can I remove the symlink so it wont > overwrite the 2.2.9-27? I don't know. > If this does work do I need to make a new one to > the sources I want to compile? Probably, but I don't know. :-) >Why is the link there? > I'm afraid my knowledge is based on unpacking a "tarball" kernel source this past holiday weekend (for us in the United States it was a holiday weekend ) and being surprised that it overwrote the source for my previous kernel. I "moved" the directory to a new name (2.2.12) to reflect the contents of the kernel. I would strongly suggest you try making a directory FOR the contents of the tarball and making the symlink point to that directory. Probably have to do an "ln -s --force" to get it to work. John
Re: [expert] Kernel and Tar file ?
On Thu, 09 Sep 1999, you wrote: > > No. The symlink will get overwritten, but not the 2.2.9-27 directory. > My experience (tar xvf after un-bzipping) is that it does not overwrite the DIRECTORY name, but it *will* overwrite the files *IN* the directory. John
Re: [expert] Kernel and Tar file ?
Change the symlink Tom Berger <[EMAIL PROTECTED]> said: > John Aldrich wrote: > > > > On Thu, 09 Sep 1999, you wrote: > > > I am downloading the latest kernel (2.2.12) from kernel.org. I am > > > putting it on a MDK 6.0 system that has 2.2.9-27mdk on it. When I untar & > > > bzip it will it won't overwrite the other kernel will it? Will it put it in > > > /usr/src/linux/2.2.12? When I go to build the kernel I need to go to the > > > directory with the version of the kernel I want to build to run xconfig and > > > all don't I not just /usr/src/linux right? Is there a argument I need to > > > add to put things in the correct place or can I use kpackage? I don't know > > > much about tar. > > > > > You probably have a symlink to /usr/src/linux which points > > to 2.2.9-27. The tarball *will* overwrite 2.2.9-27 files. > > John > > No. The symlink will get overwritten, but not the 2.2.9-27 directory. > > tom > > -- > "Never trust a Shoggoth!" > Thomas 'tom' Berger, [EMAIL PROTECTED] > LSTB - "advancing the community" > > -- Rudd-O Jefe de operaciones Alpha Omega Creative Solutions
Re: [expert] Kernel and Tar file ?
John Aldrich wrote: > > On Thu, 09 Sep 1999, you wrote: > > I am downloading the latest kernel (2.2.12) from kernel.org. I am > > putting it on a MDK 6.0 system that has 2.2.9-27mdk on it. When I untar & > > bzip it will it won't overwrite the other kernel will it? Will it put it in > > /usr/src/linux/2.2.12? When I go to build the kernel I need to go to the > > directory with the version of the kernel I want to build to run xconfig and > > all don't I not just /usr/src/linux right? Is there a argument I need to > > add to put things in the correct place or can I use kpackage? I don't know > > much about tar. > > > You probably have a symlink to /usr/src/linux which points > to 2.2.9-27. The tarball *will* overwrite 2.2.9-27 files. > John No. The symlink will get overwritten, but not the 2.2.9-27 directory. tom -- "Never trust a Shoggoth!" Thomas 'tom' Berger, [EMAIL PROTECTED] LSTB - "advancing the community"
Re: [expert] Kernel and Tar file ?
>>> "John" == John Aldrich <[EMAIL PROTECTED]> writes: > On Thu, 09 Sep 1999, you wrote: >> I am downloading the latest kernel (2.2.12) from kernel.org. I >> am putting it on a MDK 6.0 system that has 2.2.9-27mdk on >> it. When I untar & bzip it will it won't overwrite the other >> kernel will it? Will it put it in /usr/src/linux/2.2.12? When I [snip] > You probably have a symlink to /usr/src/linux which points to > 2.2.9-27. The tarball *will* overwrite 2.2.9-27 files. John Also, ought one to look out for the preferred symlink in /lib/modules? -- Mike Fieschko, West Orange, NJ, USA X-Mailer: XEmacs 20.4, VM 6.72 and random-sig.el X-Face header is me! http://www.cs.indiana.edu/picons/ftp/faq.html Kernel 2.2.9-19mdk mailto:[EMAIL PROTECTED] http://www.viconet.com/fieschko/home.htm Sep 9 St Peter Claver or St Gorgonius "Tradition means giving votes to the most obscure of all classes, our ancestors. It is the democracy of the dead. Tradition refuses to submit to that arrogant oligarchy who merely happen to be walking around." - [G.K. Chesterton, in Orthodoxy, 1908]
Re: [expert] Kernel and Tar file ?
>On Thu, 09 Sep 1999, you wrote: >> I am downloading the latest kernel (2.2.12) from kernel.org. I am >> putting it on a MDK 6.0 system that has 2.2.9-27mdk on it. When I untar & >> bzip it will it won't overwrite the other kernel will it? Will it put it in >> /usr/src/linux/2.2.12? When I go to build the kernel I need to go to the >> directory with the version of the kernel I want to build to run xconfig and >> all don't I not just /usr/src/linux right? Is there a argument I need to >> add to put things in the correct place or can I use kpackage? I don't know >> much about tar. >> >You probably have a symlink to /usr/src/linux which points >to 2.2.9-27. The tarball *will* overwrite 2.2.9-27 files. > John Is this because of the symlink? Can I remove the symlink so it wont overwrite the 2.2.9-27? If this does work do I need to make a new one to the sources I want to compile? Why is the link there? ?s?s?s Thanks, Aaron Winters, Electronic Imaging Manager. Garner Printing, http://camalott.com/~garner http://camalott.com/~kaw
Re: [expert] Kernel and Tar file ?
On Thu, 09 Sep 1999, you wrote: > I am downloading the latest kernel (2.2.12) from kernel.org. I am > putting it on a MDK 6.0 system that has 2.2.9-27mdk on it. When I untar & > bzip it will it won't overwrite the other kernel will it? Will it put it in > /usr/src/linux/2.2.12? When I go to build the kernel I need to go to the > directory with the version of the kernel I want to build to run xconfig and > all don't I not just /usr/src/linux right? Is there a argument I need to > add to put things in the correct place or can I use kpackage? I don't know > much about tar. > You probably have a symlink to /usr/src/linux which points to 2.2.9-27. The tarball *will* overwrite 2.2.9-27 files. John
[expert] Kernel and Tar file ?
I am downloading the latest kernel (2.2.12) from kernel.org. I am putting it on a MDK 6.0 system that has 2.2.9-27mdk on it. When I untar & bzip it will it won't overwrite the other kernel will it? Will it put it in /usr/src/linux/2.2.12? When I go to build the kernel I need to go to the directory with the version of the kernel I want to build to run xconfig and all don't I not just /usr/src/linux right? Is there a argument I need to add to put things in the correct place or can I use kpackage? I don't know much about tar. Thanks, Aaron Winters, Electronic Imaging Manager. Garner Printing, http://camalott.com/~garner http://camalott.com/~kaw