Subject: Re: install-target for /sys/arch/*/conf/Makefile.* ?
To: David Brownlee <>
From: Andrew Brown <>
List: tech-kern
Date: 04/25/2000 17:22:58
>> 	rm -f /onetbsd
>> 	ln /netbsd /onetbsd
>> 	cp netbsd /nnetbsd
>> 	mv /nnetbsd /netbsd
>     Functionally identical (just because :)
>	ln -f /netbsd /onetbsd
>	cp netbsd /nnetbsd
>	mv /nnetbsd /netbsd

i was gonna parry with

	install -crb netbsd /netbsd

but it seems that (a) install does a rename(2) to the backup name
first, and then a rename of the newly installed file to the target,
(b) there's no easy way to get it to rename it to onetbsd instead of
netbsd.old, and (iii) there's a bug in kdump that causes it to segv on
reading the ktrace file that i used to come up with (a) and (2).

send-pr coming up.  :)

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."