[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/share/mk
On Jan 23, 3:11am, campbell+netbsd-source-changes-d%mumble.net@localhost
(Taylor R Campbell) wrote:
-- Subject: Re: CVS commit: src/share/mk
| Date: Wed, 22 Jan 2014 13:15:44 -0500
| From: christos%zoulas.com@localhost (Christos Zoulas)
| On Jan 22, 7:29am, matt%3am-software.com@localhost (Matt Thomas) wrote:
| -- Subject: Re: CVS commit: src/share/mk
| | I always wondered why we don't use ln -sf
| | and avoid the race.
| That does not work because if the destnation is a directory it will
| try to link in the destination directory... (I tried). This is why
| I suggested that it needs to be done differently.
| ln -sfh?
| As an aside, it would be nice if there were an easy way to create a
| symlink at a temporary location and rename it over the permanent one.
| `ln -sfh' will unlink instead, and mv(1) is too smart for its own good
| about directories to be able to rename over a symlink reliably...
Yes perhaps that will work.
Main Index |
Thread Index |