Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

d_invalidate(9) [centos man page]

D_INVALIDATE(9) 						   The Linux VFS						   D_INVALIDATE(9)

NAME
d_invalidate - invalidate a dentry SYNOPSIS
int d_invalidate(struct dentry * dentry); ARGUMENTS
dentry dentry to invalidate DESCRIPTION
Try to invalidate the dentry if it turns out to be possible. If there are other dentries that can be reached through this one we can't delete it and we return -EBUSY. On success we return 0. no dcache lock. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 D_INVALIDATE(9)

Check Out this Related Man Page

DEBUGFS_CREATE_U64(9)					      The debugfs filesystem					     DEBUGFS_CREATE_U64(9)

NAME
debugfs_create_u64 - create a debugfs file that is used to read and write an unsigned 64-bit value SYNOPSIS
struct dentry * debugfs_create_u64(const char * name, umode_t mode, struct dentry * parent, u64 * value); ARGUMENTS
name a pointer to a string containing the name of the file to create. mode the permission that the file should have parent a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. value a pointer to the variable that the file should read to and write from. DESCRIPTION
This function creates a file in debugfs with the given name that contains the value of the variable value. If the mode variable is so set, it can be read from, and written to. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, NULL will be returned. If debugfs is not enabled in the kernel, the value -ENODEV will be returned. It is not wise to check for this value, but rather, check for NULL or !NULL instead as to eliminate the need for #ifdef in the calling code. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DEBUGFS_CREATE_U64(9)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Advaced Grep

Hi all I have been doing basic admin on a Sun OS 5.6 system for some time and am just trying to learn about shell scripts to help perform some dull things i do every day. Im trying to automate a task of trawling through multiple logfiles on clustered boxes for high severity alarms and writing... (17 Replies)
Discussion started by: little g
17 Replies

2. Shell Programming and Scripting

Script for Comparing directories and file from a text file

Hello all, I need to write a script which has following requirement: Need to read the filenames from text file and then search for the above read files in the required directory and if match found backup them in a backup folder. And also need to compare and verify whether the files in the... (7 Replies)
Discussion started by: saurau
7 Replies

3. Shell Programming and Scripting

Passwordless login gets deactivated after some time

Hi Friends, I was successfully able to login passwordlessly to server 1.1.1.2 from server 1.1.1.1 by following the below steps. I had already generated the keys using (ssh-keygen -t rsa) once and i am assuming i do not have to do that again. ssh id@1.1.1.2 mkdir -p .ssh cat... (8 Replies)
Discussion started by: srkmish
8 Replies

4. Shell Programming and Scripting

Deleting multiple files off an ftp server once they have been downloaded

Hello, I have a server that I have to ftp files off and they all start SGRD and are followed by 6 numbers. SGRD000001 SGRD000002 SGRD000003 The script I have will run every 10 mins to pick up files as new ones will be coming in all the time and what I want to do is delete the files I have... (7 Replies)
Discussion started by: sph90457
7 Replies

5. UNIX for Dummies Questions & Answers

Grep for ip address only from a file

Facing issues in grepping only the IP Address from a file i have tried the below and it was of not much help awk -F"" '/(/ { print $3 }' awk -F"</*(>" '/ip/ { print $2 }' grep "ip" file1|cut -f2 -d"<"|cut -f2 -d">" grep "(" file1 |cut -f2 -d"<"|cut -f2 -d">" grep -e... (9 Replies)
Discussion started by: satishcarya
9 Replies

6. Red Hat

Could not resolve ip through DNS

Dear all , Very recently our DNS server ip got changed. I have entered the DNS ip in /etc/resolv.conf ...but I could not resolv it for my ip address. Verified that , the IP is added in the DNS also. It is still working with the old DNS ip. Please let me know what could be... (11 Replies)
Discussion started by: jegaraman
11 Replies