Home > Veritas Storage Foundation™ File System Manual Pages
Table of contents
vxfs_nattr_rename - rename a named data stream.
cc -I /opt/VRTS/include -L /opt/VRTS/lib
-l vxfsutil -ldl
int vxfs_nattr_rename(int sfd, char *old, char *tnew);
function changes the name space entry pointed to
of the file
from the attribute
of the file
are resolved relative to the vnode pointed to by
If the link named by
the link count of the file becomes zero when the file is removed
and no process has the file open.
The space occupied by the file is freed and
the file is no longer accessible.
If one or more processes have the file open when the last link is removed,
the link is removed before
but the contents of the file are not removed until
all references to the file are closed.
After successful completion,
fields of the parent
directory of each file for update.
Renaming a named data stream to have a prefix of $vxfs:
fails with the EINVAL
prefix is reserved by VERITAS.
returns zero on success.
-1 is returned and errno is set to indicate an error.
A component of either path prefix did not have search permission.
One of the directories containing
did not have write permissions.
There was no write permission for a directory
pointed to by
The file system disk layout version does not support
named data streams.
An I/O error occurred while making or updating a directory entry.
The length of
A path name component is longer than
is in effect.
The link named by
does not exist.
points to an empty string.
The requested operation is a write operation to a directory
on a read-only file system.
The links named by
are on different file systems.
Last updated: 01 April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.