From owner-freebsd-hackers Mon Jul 3 00:52:40 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA22966 for hackers-outgoing; Mon, 3 Jul 1995 00:52:40 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id AAA22937 ; Mon, 3 Jul 1995 00:52:32 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA18615; Mon, 3 Jul 1995 09:52:19 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA19502; Mon, 3 Jul 1995 09:52:18 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id IAA03146; Mon, 3 Jul 1995 08:54:09 +0200 From: J Wunsch Message-Id: <199507030654.IAA03146@uriah.heep.sax.de> Subject: Re: damaged file system To: asami@cs.berkeley.edu (Satoshi Asami) Date: Mon, 3 Jul 1995 08:54:09 +0200 (MET DST) Cc: jbeukema@HK.Super.NET, hackers@FreeBSD.org, jkh@FreeBSD.org In-Reply-To: <199507030453.VAA02512@silvia.HIP.Berkeley.EDU> from "Satoshi Asami" at Jul 2, 95 09:53:46 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1110 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Satoshi Asami wrote: > > * I am missing /etc/rc now (and who knows what else). To see whether I can > * avoid reinstalling the entire binary distribution, can someone send me a > * copy by mail. I have the sources so I will try and make world after > * getting up multi-user. I suggest someone who understands pkg_add check > * out the cern_httpd one. > > I don't claim to understand pkg_add (only Jordan does :) but I can't > see why pkg_add can damage the filesystem like that, the cern_httpd > package is just a "regular" package without any fancy frills or > anything. (I just tried the 2.0.5 package on our development machine > (thud), it went fine without destroying anything.) pkg_add used to remove the temp files after a failure. I think this is done by an rm -f (usually run by root). A single space somewhere in a PLIST file caused me to trash my entire /usr/local once. It's not impossible that there are further hidden gotchas. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)