VOP_RENAME.9 (ffdbee2566f890c36d3e37d1d7782b315ee54390) | VOP_RENAME.9 (eaa8b244f1a8447ea7815796dbfa60ec5b4ab79d) |
---|---|
1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" -*- nroff -*- 2.\" 3.\" Copyright (c) 1996 Doug Rabson 4.\" 5.\" All rights reserved. 6.\" 7.\" This program is free software. 8.\" --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $Id: VOP_RENAME.9,v 1.2 1997/03/04 06:20:48 mpp Exp $ | 29.\" $Id: VOP_RENAME.9,v 1.3 1997/03/04 10:02:40 dfr Exp $ |
30.\" 31.Dd July 24, 1996 32.Os 33.Dt VOP_RENAME 9 34.Sh NAME 35.Nm VOP_RENAME 36.Nd rename a file 37.Sh SYNOPSIS --- 244 unchanged lines hidden (view full) --- 282 vput(fvp); 283 } else 284 vrele(fvp); 285 286 return error; 287} 288.Ed 289.Sh ERRORS | 30.\" 31.Dd July 24, 1996 32.Os 33.Dt VOP_RENAME 9 34.Sh NAME 35.Nm VOP_RENAME 36.Nd rename a file 37.Sh SYNOPSIS --- 244 unchanged lines hidden (view full) --- 282 vput(fvp); 283 } else 284 vrele(fvp); 285 286 return error; 287} 288.Ed 289.Sh ERRORS |
290.Bl -tag -width [ENOTEMPTY] | 290.Bl -tag -width Er |
291.It Bq Er EPERM 292the file is immutable 293.It Bq Er EXDEV 294cross device move 295.It Bq Er EINVAL 296illegal directory rename 297.It Bq Er ENOTDIR 298attempt to rename a directory to a file or vice versa 299.It Bq Er ENOTEMPTY 300attempt to remove a directory which is not empty 301.El 302.Sh SEE ALSO 303.Xr vnode 9 304.Sh AUTHORS 305This man page was written by Doug Rabson. 306 | 291.It Bq Er EPERM 292the file is immutable 293.It Bq Er EXDEV 294cross device move 295.It Bq Er EINVAL 296illegal directory rename 297.It Bq Er ENOTDIR 298attempt to rename a directory to a file or vice versa 299.It Bq Er ENOTEMPTY 300attempt to remove a directory which is not empty 301.El 302.Sh SEE ALSO 303.Xr vnode 9 304.Sh AUTHORS 305This man page was written by Doug Rabson. 306 |