On Thu, 30 Apr 2009 14:44:57 -0500, Dale wrote:

> How do I tell tar when I am making the tarball to look at /mnt/gentoo/
> as it start point, root directory if you will?  I read the man page but
> suspect I am missing it somewhere.  There has to be a way since it is
> done that way for the stage 3 tarball.

The same way you change directory when you extract, with -C.

tar cf archive.tar -C /mnt/gentoo .


-- 
Neil Bothwick

"Who is the oldest inhabitant of this village?"
"We haven't got one; we had one, but he died three weeks ago."

Attachment: signature.asc
Description: PGP signature

Reply via email to