From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 2 01:19:18 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8238B1065672 for ; Tue, 2 Mar 2010 01:19:18 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay2.uni-muenster.de (ZIVM-EXRELAY2.UNI-MUENSTER.DE [128.176.192.15]) by mx1.freebsd.org (Postfix) with ESMTP id 118588FC14 for ; Tue, 2 Mar 2010 01:19:16 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,563,1262559600"; d="scan'208";a="238016478" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 02 Mar 2010 02:19:15 +0100 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id E6DC31B0768; Tue, 2 Mar 2010 02:19:15 +0100 (CET) Date: Tue, 02 Mar 2010 02:19:15 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: jhell Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: `make cleanworld` and /usr/obj/lib32/usr/src X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 01:19:18 -0000 jhell schrieb am 2010-03-02: > On Mon, 1 Mar 2010 19:45, alexbestms@ wrote: > >jhell schrieb am 2010-03-02: > >>On Mon, 1 Mar 2010 14:52, alexbestms@ wrote: > >>>oh. and btw: wouldn't it be reasonable to prevent a user shooting > >>>himself in > >>>the foot if he has the brilliant idea of setting "MAKEOBJDIRPREFIX > >>>= /" ? > >>>alex > >>Trying to match something like this is going to get out of control. > >>Though this is a nice idea but why should a user be prevented from > >>doing such things ?. > >>Boiling down these are not variables that usually have to be > >>changed > >>and if they are changed the user has done a little bit of research > >>and is more advanced than most and recognizes that / is not a > >>option. > >hmmm...so you think something like this won't be useful? > >alex > >>-- > >>jhell > What about the case where MAKEOBJDIRPREFIX="/ usr/obj/dir". I > suppose make will fail in this case but I don't have anything to > test this situation in ATM. nope. just tested it. only a real MAKEOBJDIRPREFIX="/" triggers the error. > But aside from that "typical user" never adjusts such things and it > adds just a slight bit more overhead to the build that can be > avoided altoghter by the user reading what they type. you're probably right. regular users will most definitely never come across MAKEOBJDIRPREFIX and if some advanced user decides to set it to "/" that's up to him. alex > -- > jhell