| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
a file. This fixes moving symlinks across partitions.
PR: 17847
Reviewed by: bde
Notes:
svn path=/head/; revision=62963
|
|
|
|
|
|
|
| |
Noticed by: bde
Notes:
svn path=/head/; revision=55301
|
|
|
|
|
|
|
| |
Reviewed-by: obrien
Notes:
svn path=/head/; revision=50871
|
|
|
|
| |
Notes:
svn path=/head/; revision=50544
|
|
|
|
| |
Notes:
svn path=/head/; revision=50471
|
|
|
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
Notes:
svn path=/head/; revision=46684
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
Notes:
svn path=/head/; revision=40301
|
|
|
|
| |
Notes:
svn path=/head/; revision=37245
|
|
|
|
|
|
|
| |
Obtained from or inspired by: A similar change in OpenBSD by theo
Notes:
svn path=/head/; revision=36785
|
|
|
|
|
|
|
|
|
| |
is already one there.
PR: 3025
Notes:
svn path=/head/; revision=36383
|
|
|
|
| |
Notes:
svn path=/head/; revision=36049
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Error out if someone tries to mv a mount point. Old behavior was to
> move all files contained in the mounted filesystem to the dest. dir
> which could be quite nasty. Personally, I think rename(2) should
> return EPERM or EINVAL instead of EXDEV.
Obtained from: OpenBSD mv.c rev 1.6 by Todd Miller <millert@openbsd.org>
Notes:
svn path=/head/; revision=31664
|
|
|
|
|
|
|
| |
Pointed out by bde.
Notes:
svn path=/head/; revision=30727
|
|
|
|
|
|
|
|
| |
print which input mv(1) expect (y/n) and print a warning if the
file was not overwritten.
Notes:
svn path=/head/; revision=30106
|
|
|
|
|
|
|
|
|
|
| |
$ touch from to
$ echo -n loop | mv -i from to
overwrite to?
^C
Notes:
svn path=/head/; revision=29933
|
|
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24348
|
|
|
|
|
|
|
|
| |
added when sbits are cleared.
Fixes PR 1351 and 1377 (I hope).
Notes:
svn path=/head/; revision=23525
|
|
|
|
| |
Notes:
svn path=/head/; revision=22988
|
|
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
|
|
|
| |
Notes:
svn path=/head/; revision=20420
|
|
|
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
Notes:
svn path=/head/; revision=17891
|
|
|
|
|
|
|
|
| |
correct indent of last new code
fix usage string, option -f before option -i (alphabetic order)
Notes:
svn path=/head/; revision=14305
|
|
|
|
|
|
|
|
|
| |
respond `Y' is equal to `y'
update usage string
prompt only if source exist
Notes:
svn path=/head/; revision=14166
|
|
|
|
|
|
|
| |
-? is an unnecessary case statement and not useful
Notes:
svn path=/head/; revision=14156
|
|
|
|
|
|
|
| |
Submitted by: pst, ache
Notes:
svn path=/head/; revision=14154
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all flag variables initialized with zero
respond `Y' is equal to `y'
update usage string
prompt only if source exist
ignore -i option if file descriptor stdin not refers to a valid
terminal type device
Notes:
svn path=/head/; revision=14144
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
Notes:
svn path=/head/; revision=11298
|
|
|
|
|
|
|
|
|
|
|
| |
cp -PRp source_file destination
Closes PR # bin/689: mv(1) manpage
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
Notes:
svn path=/head/; revision=10068
|
|
|
|
| |
Notes:
svn path=/head/; revision=3044
|
|
Notes:
svn path=/head/; revision=1556
|