From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 05:32:31 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 CC2BE16A417 for ; Tue, 22 Jan 2008 05:32:31 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 32C4513C45A for ; Tue, 22 Jan 2008 05:32:31 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2273801fgg.35 for ; Mon, 21 Jan 2008 21:32:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; bh=a1rsKoYB8Gj1WQSezWZUJ+VEKSTCtvP3jOua7yBg82Y=; b=aWoP+qMnzGlG1+OK/SHwqyDwV6OlQXSL1BwHb/31FtVbpJCM7TKd7nxvvPXuwjKpEOvLYAkFh7hgOlwyE300rAdGm/P8PZAMpcw7zD4QfCz/Mah28OyCI2PnYonW9IZnJo/NhTMCfJBQgezuRsfrs7HoKfsp3Km7egL+MzItmMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; b=S3zjYyM91yEx/87yGu3SMgVdjTHIzaCcLHpsmDWi/FRs7hGTbjq++pgmqURI/A+n30caR8lEaqRE3Kph+ZMdCR7HVpkXXUBRhP5++CpYSlAWRrLPIviQPE1rF7bzcIeFi3EahjjVeFZ+K1xX1gPR4G+ob1tLAiPzQ91ovaYx/0c= Received: by 10.82.150.20 with SMTP id x20mr13973898bud.5.1200979949246; Mon, 21 Jan 2008 21:32:29 -0800 (PST) Received: by 10.82.160.20 with HTTP; Mon, 21 Jan 2008 21:32:29 -0800 (PST) Message-ID: <560f92640801212132q14eb068eg993fe73bf0d4755b@mail.gmail.com> Date: Mon, 21 Jan 2008 21:32:29 -0800 From: "Nerius Landys" Cc: freebsd-questions@freebsd.org In-Reply-To: <365643.31120.qm@web56811.mail.re3.yahoo.com> MIME-Version: 1.0 References: <365643.31120.qm@web56811.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: how to restore /usr/src X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 05:32:32 -0000 >how can i reinstall the original /usr/src Oh that's really easy. Don't fret. I delete it all the time and get it back in the following way. In the handbook, there's a section about synchronizing your source: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html Use 'cvsup' or 'csup'; if your system is newer 'csup' will be part of the system. Find your 'standard-supfile' file (probably in /usr/share/examples/cvsup/standard-supfile), copy it to your home directory and modify it by changing the lines *default host=CHANGE_THIS.FreeBSD.org (change 'CHANGE_THIS' to 'cvsup11.us' for example) *default release=cvs tag= (see below) and then run 'csup standard-supfile' or 'cvsup standard-supfile'. 'cvsup' is in /usr/ports/net/cvsup-without-gui if you need to install it. CVS TAGs are explained in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html