History log of /freebsd/bin/mv/mv.c (Results 76 – 100 of 156)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 29e13abe 20-May-2001 Kris Kennaway <kris@FreeBSD.org>

Silence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t
warnings.

MFC after: 1 week


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0
# f698dde9 20-Jul-2000 SADA Kenji <sada@FreeBSD.org>

Don't emit a warning message if fchflags() returns EOPNOTSUPP

Requested by: FUJISHIMA Satsuki <k5@cheerful.com>
Obtained from: OpenBSD


# 3c2ddcf5 15-Jul-2000 SADA Kenji <sada@FreeBSD.org>

To make inherit file flags when mv(1) moves file between directories
on different file systems.

PR: bin/12375
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>
No response by: steve
No problem w

To make inherit file flags when mv(1) moves file between directories
on different file systems.

PR: bin/12375
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>
No response by: steve
No problem with: building 5-current world

show more ...


# a95d6fda 11-Jul-2000 David Malone <dwmalone@FreeBSD.org>

Use lstat(2) instead of stat(2) when deciding if we should fastcopy
a file. This fixes moving symlinks across partitions.

PR: 17847
Reviewed by: bde


Revision tags: release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 46fedeb0 29-Aug-1999 Michael Haro <mharo@FreeBSD.org>

add verbose flag


# 2a456239 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# 1fd98d7d 13-Oct-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Calls one or more of malloc(), warn(), err(), syslog(), execlp() or
execvp() in the child branch of a vfork(). Changed to use fork()
instead.

Some of these (mv, find, apply, xargs) might benefit gre

Calls one or more of malloc(), warn(), err(), syslog(), execlp() or
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

show more ...


Revision tags: release/2.2.7
# fe6f0b08 28-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


# 8a20f85c 09-Jun-1998 Warner Losh <imp@FreeBSD.org>

Make sure we don't overflow the path buffer. Exit if we do.
Obtained from or inspired by: A similar change in OpenBSD by theo


# 191b38b5 26-May-1998 Steve Price <steve@FreeBSD.org>

Don't append a '/' to the destination directory if there
is already one there.

PR: 3025


# c9a8d1f4 15-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm. Add rcsid.


Revision tags: release/2.2.6
# a33d9e66 10-Dec-1997 Eivind Eklund <eivind@FreeBSD.org>

Merge from OpenBSD:
> 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. Persona

Merge from OpenBSD:
> 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>

show more ...


# af6ff028 26-Oct-1997 Wolfgang Helbig <helbig@FreeBSD.org>

Synchronize usage() and man page.
Pointed out by bde.


Revision tags: release/2.2.5_cvs
# ae691257 04-Oct-1997 Wolfram Schneider <wosch@FreeBSD.org>

mv(1) is too silent if used with the option -i. It should
print which input mv(1) expect (y/n) and print a warning if the
file was not overwritten.


# fee9ad97 28-Sep-1997 Wolfram Schneider <wosch@FreeBSD.org>

Endless loop.

$ touch from to
$ echo -n loop | mv -i from to
overwrite to?
^C


Revision tags: release/2.2.2_cvs
# 93ef08af 28-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 03001f57 08-Mar-1997 Guido van Rooij <guido@FreeBSD.org>

Make mv more robust. A race has been fixed, as well as an extra warning
added when sbits are cleared.
Fixes PR 1351 and 1377 (I hope).


# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

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

Make the long-awaited change from $Id$ to $FreeBSD$

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.

show more ...


# 78b09ffe 14-Dec-1996 Steve Price <steve@FreeBSD.org>

-Wall cleaning.


Revision tags: release/2.1.5_cvs
# aa055148 01-Mar-1996 Wolfram Schneider <wosch@FreeBSD.org>

delete unused label endarg
correct indent of last new code
fix usage string, option -f before option -i (alphabetic order)


# 5fd463ac 21-Feb-1996 Wolfram Schneider <wosch@FreeBSD.org>

option -f and -i are exclusive (Posix)
respond `Y' is equal to `y'
update usage string
prompt only if source exist


# 91e94a1d 19-Feb-1996 Paul Traina <pst@FreeBSD.org>

-- is implemented in getopt(3)
-? is an unnecessary case statement and not useful


# d7e0e5ca 19-Feb-1996 Wolfram Schneider <wosch@FreeBSD.org>

delete my last commit
Submitted by: pst, ache


# 1efb053d 18-Feb-1996 Wolfram Schneider <wosch@FreeBSD.org>

option -f and -i are exclusive
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 refe

option -f and -i are exclusive
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

show more ...


1234567