VOP_RENAME(9) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

VOP_RENAME(9)

This  renames  a  file and possibly changes its parent directory.
If the destination object exists, it will be removed first.   Its
arguments  are: The vnode of the old parent directory.  The vnode
of the file to be renamed.  Pathname information about the file's
current name.  The vnode of the new parent directory.  The  vnode
of  the  target  file (if it exists).  Pathname information about
the file's new name.  The source directory and file are  unlocked
but  are  expected  to have their ref count bumped on entry.  The
VOP routine is expected to both prior to returning.  The destina‐
tion directory and file are locked as well as  having  their  ref
count  bumped.   The VOP routine is expected to both prior to re‐
turning.  The file is immutable.  It is not possible to rename  a
file  between different file systems.  An attempt was made to re‐
name or or to perform an operation which would break  the  direc‐
tory  tree  structure.  An attempt was made to rename a directory
to a file or vice versa.  An attempt was made to remove a  direc‐
tory which is not empty.  This manual page was written by

















































맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3