From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 20:27:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9FC7106564A for ; Mon, 29 Dec 2008 20:27:29 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 552168FC0C for ; Mon, 29 Dec 2008 20:27:29 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LHOhw-0004Wx-4q; Mon, 29 Dec 2008 20:27:24 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id mBTKRMUo011149; Mon, 29 Dec 2008 20:27:23 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 5F83EFCB841; Mon, 29 Dec 2008 20:27:17 +0000 (GMT) Date: Mon, 29 Dec 2008 20:27:17 +0000 From: Frank Shute To: Masoom Shaikh Message-ID: <20081229202717.GA78262@melon.esperance-linux.co.uk> Mail-Followup-To: Masoom Shaikh , freebsd-questions@freebsd.org References: <20081229124558.43cefc56@gumby.homeunix.com> <200812292039.43242.masoom.shaikh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812292039.43242.masoom.shaikh@gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Mon, 29 Dec 2008 20:27:23 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: local copy of handbook X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 20:27:30 -0000 On Mon, Dec 29, 2008 at 08:39:42PM +0530, Masoom Shaikh wrote: > > On Monday 29 December 2008 18:15:58 RW wrote: > > On Mon, 29 Dec 2008 10:16:42 +0530 > > "Masoom Shaikh" wrote: > > > > lso I cud use tarballs from FTP, but is there easy way to install > > > > > them ? also csup didn't help here is my csup file > > > > > > *default tag=RELENG_7 > > > *default host=ftp2.tw.freebsd.org > > > *default prefix=/usr > > > *default base=/var/db > > > *default release=cvs delete use-rel-suffix compress > > > src-all > > > doc-all > > > > > > csup updates the source each time, but now i am not sure about doc!! > > > > If you do it that way, you have to generate the html files yourself, > > cvup fetches generic data files that can be used to generate html , pdf > > etc. > > > > What I do these days is mirror the online version with wget. > > > > > > > > #!/bin/sh > > > > cd /usr/share/doc/en > > > > wg_args=" --mirror -np -nH --cut-dirs=2 --limit-rate=33k" > > > > bg_flags="" > > > > # Run quietly from cron > > [ ! -t 0 ] && bg_flags=" --quiet " > > > > wget $bg_flags $wg_args "http://www.freebsd.org/doc/en_US.ISO8859-1/" > > that is clever use of wget :) > but can't docs remain updated with csup ? if yes, how ? > otherwise I will be happy to generate them from sources if they happen to be > some simple target > You can keep a local copy of the docs & update the sources for the docs with csup but you have to regenerate them with a make command after you have csup'd. The process is described within this page I just put up: http://www.shute.org.uk/misc/freebsd_uptodate.html There maybe some errors there or things I've missed, so apologies for that in advance. Any questions, just drop me an email. It's good practice IMO to have a locally updated copy of the handbook. You always need the handbook when your 'net connection is down ;) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html