Revision tags: release/2.1.0_cvs |
|
#
27e79e1d |
| 07-Oct-1995 |
Bruce Evans <bde@FreeBSD.org> |
Handle trailing slashes in source filenames correctly. E.g., rewrite `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The latter caused a panic. Before the trailing slash changes
Handle trailing slashes in source filenames correctly. E.g., rewrite `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The latter caused a panic. Before the trailing slash changes in the kernel, the trailing slashes caused the rename() for this mv to fail earlier, so there was no panic in 2.0.
Fixes part of PR 760.
show more ...
|
Revision tags: release/2.0.5_cvs, release/2.0 |
|
#
89730b29 |
| 24-Sep-1994 |
David Greenman <dg@FreeBSD.org> |
Added $Id$
|
Revision tags: release/1.1.5.1_cvs |
|
#
4b88c807 |
| 26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite bin Sources
|
#
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
#
62efc229 |
| 04-Sep-2009 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add NFSv4 ACL support to mv(1).
Reviewed by: rwatson
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
95aaf2e8 |
| 19-Jul-2008 |
Xin LI <delphij@FreeBSD.org> |
Staticify symbols that will not be used in other places.
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
961fdc4f |
| 27-Dec-2007 |
Diomidis Spinellis <dds@FreeBSD.org> |
- Roll-back attempts to mimic rename(2) atomicity introduced in 1.47, and follow the letter of the POSIX specification.
- Moving a directory to an existing non-empty directory will now fail, as
- Roll-back attempts to mimic rename(2) atomicity introduced in 1.47, and follow the letter of the POSIX specification.
- Moving a directory to an existing non-empty directory will now fail, as required.
- Improve consistency and remove some style bugs of earlier versions.
This version passes all tests of tools/regression/bin/mv/regress.sh 1.6
Reviewed by: bde MFC after: 1 month
show more ...
|
#
3db8241b |
| 17-Dec-2007 |
Diomidis Spinellis <dds@FreeBSD.org> |
Calling any function from vfork other than exec* and _exit yields undefined behavior.
Noted by: alfred
|
#
2ec43f35 |
| 16-Dec-2007 |
Diomidis Spinellis <dds@FreeBSD.org> |
Eliminate gcc "variable clobbered" warnings by declaring the variables living across the vfork as volatile.
Noted by: kan
|
#
3a44a288 |
| 16-Dec-2007 |
Diomidis Spinellis <dds@FreeBSD.org> |
When moving a directory across devices to a place where a directory with the same name exists, delete that directory first, before performing the copy. This ensures that mv(1) across devices follows
When moving a directory across devices to a place where a directory with the same name exists, delete that directory first, before performing the copy. This ensures that mv(1) across devices follows the semantics of rename(2), as required by POSIX.
This change could introduce the potential of data loss, even if the copy fails, violating the atomicity properties of rename(2). This is (mostly) mitigated by first renaming the destination and obliterating it only after a succesfull copy.
The above logic also led to the introduction of code that will cleanup the results of a partial copy, if a cross-device copy fails.
PR: bin/118367 MFC after: 1 month
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
9b4261c9 |
| 05-Sep-2005 |
Christian S.J. Peron <csjp@FreeBSD.org> |
Attempt to complete the userspace integration of POSIX.1e extended ACLs. This includes adding support for ACLs into cp(1) and mv(1) userspace utilities.
For mv(1), if _PC_ACL_EXTENDED is in effect f
Attempt to complete the userspace integration of POSIX.1e extended ACLs. This includes adding support for ACLs into cp(1) and mv(1) userspace utilities.
For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination operands, the destination file's ACLs shall reflect the source.
For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination operands, and -p has been specified, the ACLs from the source shall be preserved on the destination.
MFC after: 1 month
show more ...
|
#
8835fa27 |
| 19-May-2005 |
Maxime Henrion <mux@FreeBSD.org> |
Correct a few places where we called warn() when warnx() should have been used.
Submitted by: "Liam J. Foy" <liamfoy@sepulcrum.org> Obtained from: DragonFlyBSD
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
#
9ddb49cb |
| 10-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/*- or .\"- or #- to begin license clauses.
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
6195fb41 |
| 06-Apr-2004 |
Mark Murray <markm@FreeBSD.org> |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
#
3184e921 |
| 21-Mar-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
When symbolic link is pointed onto a mount point, it can't be moved to a different file system. Patch in PR was incorrect.
PR: bin/64430 Submitted by: Samuel Tardieu MFC after: 3 days
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
#
8d5c19ff |
| 06-May-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Centralize _PATH_* definitions.
Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
|
#
09a80d48 |
| 01-May-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Quiet warnings about copyright[].
|
Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
0f7109e8 |
| 09-Jul-2002 |
Johan Karlsson <johan@FreeBSD.org> |
Update usage for the addition of -n in rev 1.35 of mv.c.
Approved by: obrien, sheldonh (mentor).
|
Revision tags: release/4.6.0_cvs |
|
#
9a81395d |
| 16-Jun-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
When trying to emulate a cross-device move operation with cp and rm, add a "--" argument after the options so filenames with leading dashes are handled correctly.
PR: 39318 Submitted by: Serge van
When trying to emulate a cross-device move operation with cp and rm, add a "--" argument after the options so filenames with leading dashes are handled correctly.
PR: 39318 Submitted by: Serge van den Boom <svdb@stack.nl> MFC after: 1 week
show more ...
|
#
71e092d1 |
| 17-May-2002 |
Juli Mallett <jmallett@FreeBSD.org> |
Remove local definition of _PATH_CP, and use <paths.h>, _PATH_CP is in the CURRENT <paths.h>.
|
#
0302f42b |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Update SCM ID.
|
#
dce742c5 |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Add the -n option, which automatically answers "no" to the overwrite question.
|
#
4b23bd7c |
| 22-Feb-2002 |
Mark Murray <markm@FreeBSD.org> |
Warnings fixes.
|
#
fc69394f |
| 14-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
Move user_from_uid to pwd.h Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files.
NetBSD has these defined in those files, and othe
Move user_from_uid to pwd.h Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not done.
Approved by: terminal room kabal Reviewed by: jhb, phk
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
b75c7687 |
| 02-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
missed a few registers
|