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