[789] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: install(1) changes

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Jun 10 17:24:32 1995

To: "Charles M. Hannum" <mycroft@ai.mit.edu>
Cc: netbsd-dev@MIT.EDU
In-Reply-To: Your message of "Sat, 10 Jun 1995 16:58:03 EDT."
             <199506102058.QAA29327@duality.gnu.ai.mit.edu> 
Date: Sat, 10 Jun 1995 17:24:05 EDT
From: Greg Hudson <ghudson@MIT.EDU>


> Could someone explain to me the point of the changes made to
> install(1)?

From "rlog xinstall.c" in /mit/netbsd/src/usr.bin/xinstall":

	revision 1.2
	date: 1995/05/10 02:39:31;  author: ghudson;  state: Exp;  lines: +4 -4
	Modifications for AFS: close file and then call chown(), chmod(),
	chflags() instead of using fchown(), fchmod(), fchflags() and then
	closing.  AFS fails to store the file if you chmod() u-w before
	closing.

Incidentally, the list2sh.awk change isn't really necessary in the
NetBSD distribution, since all of the floppy images are created from
scratch.  I made the list2sh.awk change because the Makefile I use in
/mit/netbsd/src/distrib/i386/server doesn't nuke the server directory
before copying files to it.


home help back first fref pref prev next nref lref last post