Date: Wed, 10 Dec 1997 09:52:54 -0800 (PST) From: Eivind Eklund <eivind@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/mv mv.c Message-ID: <199712101752.JAA10409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
eivind 1997/12/10 09:52:54 PST
Modified files:
bin/mv mv.c
Log:
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>
Revision Changes Path
1.17 +16 -2 src/bin/mv/mv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712101752.JAA10409>
