Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 1996 16:28:43 +0200
From:      sthaug@nethelp.no
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
Message-ID:  <352.843488923@verdi.nethelp.no>
In-Reply-To: Your message of "Mon, 23 Sep 1996 08:56:40 -0400 (EDT)"
References:  <Pine.OSF.3.95.960923085546.10744C-100000@thurston.eng.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?352.843488923>