Subject: misc/1956: [dM] install creates junk directories
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: netbsd-bugs
Date: 01/18/1996 12:16:18
>Number: 1956
>Category: misc
>Synopsis: [dM] install creates junk directories
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 18 17:35:01 1996
>Last-Modified:
>Originator: der Mouse
>Organization:
Dis-
>Release: NetBSD -current sup as of Jan 16
>Environment:
SPARC IPC, but it doesn't matter
>Description:
When /usr/src/etc/Makefile was changed to run mtree to ensure
that the necessary directories were created to install things
in, someone left a lot of junk in the driving file. One may
want such things in a distribution, but it is entirely
inappropriate for "make install" to create directories that
_aren't_ needed for the installation and quite possibly aren't
wanted at all.
>How-To-Repeat:
% cd /usr/src/etc
% make install
...watch mtree create /altroot, /home, /stand, a whole bunch of
junk in /usr/local, /usr/obj even if you don't use obj
directories, and at least in my case, say that a few things
that actually exist are missing and then complain "File exists"
when attempting to create them...
>Fix:
Most of it can be cured by either yanking stuff from
mtree/4.4BSD.dist or else using some other file, like creating
mtree/NetBSD.install and using it.
der Mouse
mouse@collatz.mcrcim.mcgill.edu
>Audit-Trail:
>Unformatted: