Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Dale
Joerg Schilling wrote: > Nikos Chantziaras wrote: > > >> Nikos Chantziaras wrote: >> >>> 1) Better use -cjvpf ("f") takes an argument (the filename of that tar >>> to be crated) so it must be at the end. >>> >> That's why I usually use "tar -cjvp -f blabla.tar.bz2". I always >>

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Joerg Schilling
Nikos Chantziaras wrote: > Nikos Chantziaras wrote: > > 1) Better use -cjvpf ("f") takes an argument (the filename of that tar > > to be crated) so it must be at the end. > > That's why I usually use "tar -cjvp -f blabla.tar.bz2". I always > seperate options that take an argument from the res

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Dale
Neil Bothwick wrote: > On Fri, 01 May 2009 03:04:05 -0500, Dale wrote: > > >>> Tar needs to be given files or directories to include, you didn't and >>> that's why it refused to make an empty archive. Since -C chnges to the >>> directory you want to backup, you use . to tell it to backup the (no

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Neil Bothwick
On Fri, 01 May 2009 03:04:05 -0500, Dale wrote: > > Tar needs to be given files or directories to include, you didn't and > > that's why it refused to make an empty archive. Since -C chnges to the > > directory you want to backup, you use . to tell it to backup the (now) > > current directory. >

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Dale
Xavier Parizet wrote: > Dale a écrit : >> Neil Bothwick wrote: >>> On Thu, 30 Apr 2009 19:33:03 -0500, Dale wrote: >>> >>> Now that worked. Where are we told about that dot? I still don't see it on the man page. It has examples in there but no dot on the end. >>> Tar needs

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Xavier Parizet
Dale a écrit : Neil Bothwick wrote: On Thu, 30 Apr 2009 19:33:03 -0500, Dale wrote: Now that worked. Where are we told about that dot? I still don't see it on the man page. It has examples in there but no dot on the end. Tar needs to be given files or directories to include, you di

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Dale
Neil Bothwick wrote: > On Thu, 30 Apr 2009 19:33:03 -0500, Dale wrote: > > >> Now that worked. Where are we told about that dot? I still don't see >> it on the man page. It has examples in there but no dot on the end. >> > > Tar needs to be given files or directories to include, you didn

Re: [gentoo-user] Re: Question about making a tarball

2009-05-01 Thread Neil Bothwick
On Thu, 30 Apr 2009 19:33:03 -0500, Dale wrote: > Now that worked. Where are we told about that dot? I still don't see > it on the man page. It has examples in there but no dot on the end. Tar needs to be given files or directories to include, you didn't and that's why it refused to make an em

Re: [gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Dale
Nikos Chantziaras wrote: > Dale wrote: >> Nikos Chantziaras wrote: >>> Dale wrote: Nikos Chantziaras wrote: > Dale wrote: >> I try to keep a "up to date" stage 4 tarball here in my system >> just in >> case. I basically did the creation just like I would if I were >> boote

[gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Nikos Chantziaras
Nikos Chantziaras wrote: 1) Better use -cjvpf ("f") takes an argument (the filename of that tar to be crated) so it must be at the end. That's why I usually use "tar -cjvp -f blabla.tar.bz2". I always seperate options that take an argument from the rest. But -cjvpf works too as long as "f"

[gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Nikos Chantziaras
Dale wrote: Nikos Chantziaras wrote: Dale wrote: Nikos Chantziaras wrote: Dale wrote: I try to keep a "up to date" stage 4 tarball here in my system just in case. I basically did the creation just like I would if I were booted from the CD. I created /mnt/gentoo/ on my system, extracted a st

Re: [gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Dale
Nikos Chantziaras wrote: > Dale wrote: >> Nikos Chantziaras wrote: >>> Dale wrote: I try to keep a "up to date" stage 4 tarball here in my system just in case. I basically did the creation just like I would if I were booted from the CD. I created /mnt/gentoo/ on my system, extracte

[gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Nikos Chantziaras
Dale wrote: Nikos Chantziaras wrote: Dale wrote: I try to keep a "up to date" stage 4 tarball here in my system just in case. I basically did the creation just like I would if I were booted from the CD. I created /mnt/gentoo/ on my system, extracted a stage 3 there, then chroot in and create

Re: [gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Dale
Nikos Chantziaras wrote: > Dale wrote: >> I try to keep a "up to date" stage 4 tarball here in my system just in >> case. I basically did the creation just like I would if I were booted >> from the CD. I created /mnt/gentoo/ on my system, extracted a stage 3 >> there, then chroot in and create a

[gentoo-user] Re: Question about making a tarball

2009-04-30 Thread Nikos Chantziaras
Dale wrote: I try to keep a "up to date" stage 4 tarball here in my system just in case. I basically did the creation just like I would if I were booted from the CD. I created /mnt/gentoo/ on my system, extracted a stage 3 there, then chroot in and create a stage 4 tarball. I have one weird th