rename
status_t (*rename)(fs_volume* volume, fs_vnode* fromDir,
extern int rename(const char *from, const char *to);
fssh_status_t (*rename)(fssh_fs_volume *volume, fssh_fs_vnode *fromDir,
extern int rename(const char *from, const char *to);
int (*rename) (const char *, const char *);
int (*rename) (const char *, const char *);
int (*rename) (const char *, const char *);
int (*rename) (const char *, const char *);
int (*rename) (const char *, const char *);
void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name,
void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name,
void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name,
op_rename *rename;
return sourceNode->ops->rename(sourceVolume, sourceNode, fromName, toDir,
OVERLAY_CALL(rename, fromName, toDirNode->SuperVnode(), toName)
OVERLAY_CALL(rename, fromName, (fs_vnode *)toDir->private_node, toName)
if (rename(oldPath.GetPath(), newPath.GetPath()) < 0)
CLEAR_UNSUPPORTED(FS_VNODE_CAPABILITY_RENAME, rename);
fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fFSOps->rename);
if (!fFSOps->rename)
return fFSOps->rename(fVolumeCookie, oldDir, oldName, newDir, newName);
beos_op_rename *rename;
fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fLowLevelOps.rename);
fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fFS->ops.rename);
if (ops->rename == NULL)
ops->rename(&request, parent, name, newparent, newname);
if (fs->ops.rename == NULL)
return fs->ops.rename(oldpath, newpath);
capabilities.Set(FS_VNODE_CAPABILITY_RENAME, ops->rename);
if (!oldDir->ops->rename)
return oldDir->ops->rename(&fVolume, oldDir, oldName, newDir, newName);
if (rename(temporaryFilePath.Path(), targetFilePath.Path()) != 0) {
if (rename(tmpPath, path.Path()) != 0) {
if (0 != rename(currentFilePath.Path(), damagedFilePath.Path())) {
WorkerThread::InstallEFILoader(partition_id id, bool rename)
if (errText.IsEmpty() && rename
void InstallEFILoader(partition_id id, bool rename);
if (rename(from, to) < 0)
err = rename(original_path, trashed_file);
err = rename(path.Path(), original_path);
if (rename(G.filename, tname) != 0) { /* move file */
if (rename(realOldPath.c_str(), realNewPath.c_str()) < 0)
if (rename(fromAttrPath.c_str(), toAttrPath.c_str()) < 0)
if (rename(fromTypePath.c_str(), toTypePath.c_str()) < 0) {
rename(toAttrPath.c_str(), fromAttrPath.c_str());
return rename(oldPath, newPath);
return rename(ignoreOldFD ? oldPath : oldFullPath,
rename(kPasswdFile, passwdBackup.c_str());
rename(kShadowPwdFile, shadowBackup.c_str());
rename(kGroupFile, groupBackup.c_str());
rename(oldlog.String(), rotateTo.String());
if (HAS_FS_CALL(fromVnode, rename))
status = FS_CALL(fromVnode.Get(), rename, fromName, toVnode.Get(), toName);
extern int rename (const char *__old, const char *__new) __THROW;
printf(" %s\n",rename("__file", "__directory") ? "Could not rename file!" : "Rename succeeded.");
printf(" %s\n", rename("__file","__directory") ? "Could not rename file!" : "Rename succeeded.");
if (rename(oldName.c_str(), newName.c_str()) != 0) {
FATAL_IF_POSIX_ERROR(rename(absoluteFromPath, absoluteToPath),
fuseOps->rename = fuse_rename;
if (HAS_FS_CALL(fromVnode, rename))
status = FS_CALL(fromVnode, rename, fromName, toVnode, toName);