From owner-freebsd-questions Mon Jul 9 13:12:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freeze.org (www.stelesys.com [208.177.187.226]) by hub.freebsd.org (Postfix) with ESMTP id D1DCB37B403 for ; Mon, 9 Jul 2001 13:12:36 -0700 (PDT) (envelope-from jim@freeze.org) Received: (from jim@localhost) by freeze.org (8.11.3/8.11.2) id f69KCBo13255; Mon, 9 Jul 2001 16:12:11 -0400 (EDT) (envelope-from jim) X-Authentication-Warning: www.stelesys.com: Processed from queue /var/spool/alt_queue X-Authentication-Warning: www.stelesys.com: Processed by jim with -C /web/siteinfo/freeze/mail/sendmail.cf Date: Mon, 9 Jul 2001 16:12:11 -0400 (EDT) From: Jim Freeze X-X-Sender: To: Beech Rintoul Cc: Steve Tremblett , Subject: Re: ports management & subtree deletion? In-Reply-To: <01070911423901.38118@galaxy.anchoragerescue.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 9 Jul 2001, Beech Rintoul wrote: > You need to add a textfile named "refuse" to your sup directory. > List one per line: ports/directory name > Then delete the directories. If you have a stock file tree the sup directory > is in /usr/sup. I just tried this and I must be missing something. Here is what I have: % cat /usr/sup/refuse ports/chinese ports/french ports/german ports/hebrew ports/japanese ports/korean ports/news ports/russian ports/ukrainian ports/vietnamese % ls /usr/sup ports-archivers ports-comms ports-ftp ports-math ports-security ports-x11-fm ports-astro ports-converters ports-games ports-mbone ports-shells ports-x11-fonts ports-audio ports-databases ports-graphics ports-misc ports-sysutils ports-x11-servers ports-base ports-deskutils ports-irc ports-net ports-textproc ports-x11-toolkits ports-benchmarks ports-devel ports-java ports-palm ports-www ports-x11-wm ports-biology ports-editors ports-lang ports-print ports-x11 refuse ports-cad ports-emulators ports-mail ports-science ports-x11-clocks % ls /usr/ports .cvsignore README.html.tmp benchmarks deskutils games math science x11 x11-wm INDEX Templates biology devel graphics mbone security x11-clocks LEGAL Tools cad distfiles irc misc shells x11-fm Makefile archivers comms editors java net sysutils x11-fonts Mk astro converters emulators lang palm textproc x11-servers README audio databases ftp mail print www x11-toolkits % make readmes ===> Creating README.html cd: can't cd to chinese ^C Any ideas? Jim > > Beech > > > On Monday 09 July 2001 10:25, Steve Tremblett wrote: > > I have deleted directories from my ports tree because I'm not > > interested in them (ie. various foreign-language stuff, some of the > > scientific stuff etc.). I just tried to generate the README.html files > > with 'make readmes' from the /usr/ports directory, but it fails with > > the following error: > > > > sjt-bsd /usr/ports # make readmes ===> Creating README.html cd: can't > > cd to astro ^C sjt-bsd /usr/ports # > > > > At the point of the ^C, the make process is hung, but there is no CPU > > or IO activity. I don't know what broke this, since I have never run > > 'make readmes' before. > > > > My direct question is how to delete subtrees from /usr/ports while > > still allowing 'make readmes' to work? I have a feeling that it has > > something to do with /usr/ports/INDEX, but that is just a guess. I am > > also guessing that other ports facilities besides README.html > > generation won't work either. General build & installation works > > fine. > > > > As an aside for my own interest, how would I go about investigating > > this further? If a process is in a waiting state, how do I identify > > what it is waiting for and what other process is holding the resource? > > > > Thanks for any and all information you may share > > -- > Micro$oft: "Where can we make you go today?" > ------------------------------------------------------------------- > Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org > /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission > \ / - NO HTML/RTF in e-mail | P.O. Box 230510 > X - NO Word docs in e-mail | Anchorage, AK 99523-0510 > / \ ----------------------------------------------------------------- > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message