]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a -h flag similar to the -h flag for ln to force mv(1) to treat a
authorjhb <jhb@FreeBSD.org>
Fri, 31 Aug 2012 14:35:01 +0000 (14:35 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 31 Aug 2012 14:35:01 +0000 (14:35 +0000)
commit55d653d5f9d103f38c4247ad282d34f3bce008dc
treea4d7515ca0e79ae9313694d57b632955e683f20c
parent1829ce354683a94e219d2a4f5f6a0d8f3c0abaa6
Add a -h flag similar to the -h flag for ln to force mv(1) to treat a
symbolic link to a directory for the target as a symbolic link instead of
a directory.  This makes it possible to atomically update a symbolic
link using rename().

Reviewed by: gj
MFC after: 2 weeks
bin/mv/mv.1
bin/mv/mv.c