From owner-freebsd-current Mon Sep 23 07:29:07 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA17524 for current-outgoing; Mon, 23 Sep 1996 07:29:07 -0700 (PDT) Received: from verdi.nethelp.no (verdi.nethelp.no [193.91.212.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA17436 for ; Mon, 23 Sep 1996 07:28:56 -0700 (PDT) From: sthaug@nethelp.no Received: (qmail-queue invoked from smtpd); 23 Sep 1996 14:28:43 +0000 (GMT) Received: from localhost (HELO verdi.nethelp.no) (@127.0.0.1) by localhost with SMTP; 23 Sep 1996 14:28:43 +0000 (GMT) To: chuckr@glue.umd.edu Cc: bde@zeta.org.au, current@freebsd.org, imp@village.org Subject: Re: install on {Net,Open}BSD vs install on FreeBSD In-Reply-To: Your message of "Mon, 23 Sep 1996 08:56:40 -0400 (EDT)" References: X-Mailer: Mew version 1.05+ on Emacs 19.28.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 23 Sep 1996 16:28:43 +0200 Message-ID: <352.843488923@verdi.nethelp.no> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >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. Indeed. And that's also how it's documented in SunOS 4.1.x: -d Create a directory. Missing parent direc- tories are created as required as in mkdir -p. If the directory already exists, the owner, group and mode will be set to the values given on the command line. Btw, in SunOS 4.1.x it's /usr/bin/install, not /usr/ucb. Steinar Haug, Nethelp consulting, sthaug@nethelp.no