The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
328 views

Why the inode value of shadow file changes?

I created a hard link for the shadow file. For removing the passwd of the user I opened the shadow file in vi editor and removed the encrypted passwd and then saved. The inode value of the shadow file ...
1
vote
1answer
1k views

what is inode for, in FreeBSD or Solaris

I know a little about linux kernel. BUt for Freebsd, the "vnode" actually is similar to the "inode" in Linux kernel. And there is a "inode" concept in FreeBSD or Solaris. So my question is: what is ...
8
votes
3answers
6k views

Quickly find which file(s) belongs to a specific inode number

I know of this command: find /path/to/mountpoint -inum <inode number> but it is a very slow search, I feel like there has to be a faster way to do this. Does anybody know a faster method?
5
votes
1answer
2k views

On what occasion will inode change?

I checked manual of find , and there's an option -ctime which specify the last modification time of inode. But on what occasion would inode change ? When is that option useful ?
2
votes
0answers
323 views

Odd Inode/Ram cache drops happening in CentOS

I run a CentOS 5.7 machine (64bit) with 24GB ram and 4x SAS drives in RAID10 setup. This machine runs nginx/1.0.10, php-fpm & xcache. About a month back the RAM usage of this machine has changed. ...
21
votes
1answer
23k views

How can I increase the number of inodes in an ext4 filesystem?

I had a problem (new to me) last week. I have a ext4 (Fedora 15) filesystem. The application that runs on the server suddenly stopped. I couldn't find the problem at first look. df showed 50% ...
5
votes
6answers
2k views

Portable way to find inode number

At first I used stat -c %i file (to help detect the presence of a jail), which seemed to work on any Linux distribution under the sun. On OS X' I had to use ls -i file | cut -d ' ' -f 1. Is there ...
1
vote
2answers
99 views

Is the sticky bit not used in current file systems

Can I safely conclude that the sticky bit is not used in current file sysems and reuse the bit for my own purpose.
17
votes
2answers
5k views

How can I find the number of files on a filesystem?

I want to know how many files I have on my filesystem. I know I can do something like this: find / -type f | wc -l This seems highly inefficient. What I'd really like is to do is find the total ...
3
votes
1answer
155 views

Filesystem and journal layout

Is there any tools or some way in linux which can be used to view internals of filesystems ? How to view the inode related structures and journal ? and cached pages of files (pagecache).
8
votes
3answers
545 views

Memory size for kernel mmap operation

I'm interested in the way Linux mmaps files into the main memory (in my context its for executing, but I guess the mmap process is the same for writing and reading as well) and which size it uses. So ...
2
votes
1answer
223 views

tripwire report - inode number

Hi I am investigating tripwire and have stumbled upon something which i am unsure about. in a tripwire report generated after i modified hosts.deny to include an extra # I noticed the inode number ...
43
votes
5answers
32k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
15
votes
7answers
30k views

How do I count all the files recursively through directories

I want to see how many files are in subdirectories in there subdirectories to find out where all the inode usage is on the system. Kind of like I would do this for space usage du -sh /* which will ...