Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to access inode information Post 302284981 by Corona688 on Friday 6th of February 2009 04:56:11 PM
Old 02-06-2009
inode.c from the linux kernel is not a standalone program. In fact, most individual C files, kernel or not, are not standalone programs. inode.c outside the kernel won't work because kernel code needs to be executed inside the kernel and needs things from other C files to work.

What, precisely, do you think fiddling with inodes will help you do? What do you want howto's on? I'm suspecting there's some confusion on the topic here.

An inode is essentially a unique number given to each file inside a partition. This number is only useful outside the kernel for comparison purposes, i.e. to see if two different filenames are hardlinked.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file access inode update

When is a file "accessed" according to UNIX? For example: gzipping a file will not change the access time. (1 Reply)
Discussion started by: dangral
1 Replies

2. Shell Programming and Scripting

INode

hi i am nitin... jus a new kid on the block... my query is... does the concept of region invovle sharin of inodes wen the sticky it is set... eg... if two process share two text regions... wat actually happens thank u (1 Reply)
Discussion started by: nitinsharma_ssn
1 Replies

3. Filesystems, Disks and Memory

Inode number

as kernel keeps track of user activities on a file by its INODE number and I node table . what is the structure of Inode table. and where does this Inode table mapped into?user space or kernel space? is the Inode Number is fixed for a file till its deletion? thanks (1 Reply)
Discussion started by: compbug
1 Replies

4. Red Hat

inode no and fd path

hi, can anyone please tell me where i can extract inode numbers and path associated with all file descriptors. i want these informations only. is there any system call or functions to get these things? i hav a RHEL 4. also /proc/pid/fd shows some file descriptor list. is that the proper path to... (1 Reply)
Discussion started by: sanjaykhuntia
1 Replies

5. Solaris

about inode

how can i see inode table information of a perticler inode.anybody knows pls tell me. Than.Q (3 Replies)
Discussion started by: nag.mi2000
3 Replies

6. AIX

FS inode 58%

Hi Guys, I have this filesystem got big with inode: /dev/hd4 3670016 183664 95% 63705 58% /var I don't know why the system doesn't give alerts on this FS although it's 95% and why the inode is 58%. Any comments will be highly appreciated. Thanks, itik (1 Reply)
Discussion started by: itik
1 Replies

7. Programming

C++ application: how to access AIX process and cpu information?

Hi, may be this is an AIX noob question: my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies

8. UNIX for Dummies Questions & Answers

inode filename

can someone please tell me why is the filename not inlcuded in the inode of the file? (2 Replies)
Discussion started by: wowman
2 Replies

9. Solaris

inode in solaris

Dear, How can i check inode information in my Solaris box? With Regards, Mjoshi (4 Replies)
Discussion started by: mjoshi87
4 Replies

10. UNIX for Dummies Questions & Answers

How do you find max filesize with inode information ?

How do you find the maximum file size with the following information -: A unix filesystem has 1024 bytes block size with 32-bit address. The i-node has 12 direct and 1 indirect, 1 double indirect, and 1 triple indirect addresses. What is the maximum file size it can access ? What is the... (1 Reply)
Discussion started by: sreyan32
1 Replies
ncdnode(5)							File Formats Manual							ncdnode(5)

NAME
ncdnode - maximum number of open CDFS files (system-wide) VALUES
Failsafe Default Allowed values The minimum value allowed is The maximum value allowed is memory limited. Specify a positive integer value. DESCRIPTION
defines the number of slots in the inode table for in the CD-ROM file systems (CDFS). This number limits the number of open nodes that can be in memory for CDFS file systems at any given time. It is functionally similar to but applies only to CD-ROM file systems. Who Is Expected to Change This Tunable? This tunable may need to be modified on systems that run applications requiring access to CD-ROM file systems. Restrictions on Changing The kernel module, which provides the file system type specific support for CD-ROM file systems, is now a dynamically loadable kernel mod- ule (DLKM). Any changes to the value of the tunable will take effect after the kernel module is unloaded and re-loaded (see kcmodule(1M)), or after system reboot. When Should the Value of This Tunable Be Raised? The value may need to be raised when running applications which require large numbers of simultaneously open CDFS files. What are the Side Effects of Raising the Value? More system memory will be consumed for the CDFS nodes. A larger static inode table for CDFS will be created based on the value of upon kernel module load or system reboot When Should the Value of This Tunable Be Lowered? The value can be lowered to limit the number of CDFS open files on the system and reduce memory consumption. What are the Side Effects of Lowering the Value? Less system memory will be consumed for the CDFS inodes upon kernel module load or system reboot. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
kctune(1M), kcmodule(1M), sam(1M), gettune(2), settune(2), ninode(5). Tunable Kernel Parameters ncdnode(5)
All times are GMT -4. The time now is 02:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy