From owner-freebsd-current Tue Sep 24 03:09:18 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA22439 for current-outgoing; Tue, 24 Sep 1996 03:09:18 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA22407 for ; Tue, 24 Sep 1996 03:09:12 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0v5UQG-000Qk0C; Tue, 24 Sep 96 12:09 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id KAA00268; Tue, 24 Sep 1996 10:54:35 +0200 Message-Id: <199609240854.KAA00268@allegro.lemis.de> Subject: Re: install on {Net,Open}BSD vs install on FreeBSD To: rjr@sparks.empath.on.ca Date: Tue, 24 Sep 1996 10:54:35 +0200 (MET DST) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <199609240019.UAA17972@sparks.empath.on.ca> from "Robert J. Rutter" at Sep 23, 96 08:19:26 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Robert J. Rutter writes: > > > '-d' to create directories is a Sys5R4 option for /usr/ucb/install. > The standard Sys5R4 /usr/bin/install does not accept '-d' as an option. > In either case it's probably no a good idea to use '-d' for debugging, > since some software may depend on it to create a directory. System V install is quite different from the others. There's not much compatibility. On the other hand, a number of installs, though not the classic BSD version, support -d for creating directories. Bruce said (though not in the quote below) that -d is a Bad Thing because it can end up creating directories with wrong permissions. Sure, if the permissions are important, they should be done by hand, but frequently they're not, or you know that they will be set correctly on installation. I don't think we should try to anticipate every way users can shoot themselves in the foot. Greg >| On Mon, 23 Sep 1996, Bruce Evans wrote: >| >|> >In the other BSDs, install -d means to create the directory. In >|> >FreeBSD it means to turn on debugging. I propose that we implement >|> >|> Only in -current. -d is a syntax error in standard BSD and 2.1.5R. >|> I used -d for debugging before I knew about its use for directory >|> stuff. I copied it from the -d for debugging in make. >| >| I just tested on an older Sun 4c, it's not a syntax error there, it's the >| way the /usr/ucb/install works.