Subject: Re: install-target for /sys/arch/*/conf/Makefile.* ?
To: David Brownlee <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
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" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."