Date: Thu, 11 Dec 1997 11:14:50 +1100 (EST) From: Darren Reed <darrenr@cyber.com.au> To: eivind@FreeBSD.ORG (Eivind Eklund) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mv mv.c Message-ID: <199712110014.LAA23218@plum.cyber.com.au> In-Reply-To: <199712101752.JAA10409@freefall.freebsd.org> from "Eivind Eklund" at Dec 10, 97 09:52:54 am
next in thread | previous in thread | raw e-mail | index | archive | help
In some mail I received from Eivind Eklund, sie wrote > > 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 This change doesn't stop mv moving directories, in general, accross filesystems, does it ? Darren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712110014.LAA23218>