debugfs_rename man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

DEBUGFS_RENAME(9)	    The debugfs filesystem	     DEBUGFS_RENAME(9)

NAME
       debugfs_rename - rename a file/directory in the debugfs filesystem

SYNOPSIS
       struct dentry * debugfs_rename(struct dentry * old_dir,
				      struct dentry * old_dentry,
				      struct dentry * new_dir,
				      const char * new_name);

ARGUMENTS
       old_dir
	   a pointer to the parent dentry for the renamed object. This should
	   be a directory dentry.

       old_dentry
	   dentry of an object to be renamed.

       new_dir
	   a pointer to the parent dentry where the object should be moved.
	   This should be a directory dentry.

       new_name
	   a pointer to a string containing the target name.

DESCRIPTION
       This function renames a file/directory in debugfs. The target must not
       exist for rename to succeed.

       This function will return a pointer to old_dentry (which is updated to
       reflect renaming) if it succeeds. If an error occurs, NULL will be
       returned.

       If debugfs is not enabled in the kernel, the value -ENODEV will be
       returned.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		     DEBUGFS_RENAME(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net